-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user information does not update even if client.updateUser() executed successfully in client side #133
Comments
I've no idea what might be happening, but it would be possible that the backend is collisioning with same usernames in different apps and updating them wrong? Lets say APP1 with their credentials is creating User A and APP2 with their credentials is creating the same User A, but of course in a different scope. Because in the past i've seen some strange behaviours related tothe user updating's action like this one, even when it was removed and added again. Just my 2 cents. Cheers |
hi thank you for your reply, there is no collisioning. all usernames are different. i strongly ask you just after client.updateUser(). did your get the update value in client.user ? |
Moving this issue to |
Hey @sharifMedici This has been fixed in v1.1.5 So once you make a call to |
Android will handle this elegantly in the next release as well. (There is
an open pull request for this)
…On Thu, Oct 10, 2019, 07:42 Vishal Narkhede ***@***.***> wrote:
Hey @sharifMedici <https://github.com/sharifMedici> This has been fixed
in v1.1.5
So once you make a call to updateUser function, client will reflect the
changes as soon as user.updated` event is received.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#133?email_source=notifications&email_token=AACAZQIR7VGLVQDBSCQJTEDQN4WLJA5CNFSM4I4YR5VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4LXBA#issuecomment-540588932>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACAZQPY4AIFVIT2P6LJKBLQN4WLJANCNFSM4I4YR5VA>
.
|
hi @vishalnarkhede thank for your reply i have updated now v1.1.5 . then i called client.updateUser(), i see client.user rerender but there is still remain previous old value. actually i created a property called description: "some text here" , then by client.updateUser() with some value "some text here ssss" i have updated. i see in client.user two times re-render after updateUser() but inside this client.user remain old description: "some text here". (react native , ios simulator iphone x) |
Hey @sharifMedici , So client will have the updated value once it receives
Can you check if that works for you? |
we have talked already in slacked .Thank you. |
Hi i am facing a problem in getstram api (chat). when I update user information, i see client.updateUser() executed successfully. but we do not get update user information in client.user. It remain previous old information. right now i am trying to update image url. It remains the old info until we reload the whole application (cmd+R in ios, RR android simulator). but channel update work when we update channel information.
Could you please tell me what is the reason for this ?
The text was updated successfully, but these errors were encountered: