Closed rxmoein closed 4 years ago
Did you subscribe to me
topic?
Take a look at this conversation: https://github.com/tinode/chat/issues/478
Cool, Thanks I didn't subscribe. Now It worked. I have a second question, does the SDK have a types package for typescript? I'm using it in an angular project
Everything that exists is here.
You are welcome to contribute one.
I'm interested to contribute. Thanks for your help.
@or-else Can you tell me why when I subscribe to this topic the information is not loaded? I see the data is loaded only when I have changed the information.
I don't understand the problem. Please describe it step by step or show the log.
It's fixed now. I was not sending the getParams
What do I want to do?
Update my account's information without using password when I have logged in.
What's the problem?
I need to know what's the correct way to update my account's information. I tried some functions introduced in js-doc but it didn't work for me.
What did I do?
First I used
getMeTopic
to see my account's info and I found out the public field isnull
. Then I needed to add a name field to it by usingsetMeta
function. Every time I tested it, I gotnot modified
response. I also found a function namedupdateAccountbasic
but it needs user id, username, and password. I can't ask for password every time that user wants to modify his / her account information.So simply, how can I update my account's information?