Skip to content
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

updateUser does not update client.user #122

Closed
haivle opened this issue Sep 19, 2019 · 3 comments
Closed

updateUser does not update client.user #122

haivle opened this issue Sep 19, 2019 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@haivle
Copy link

haivle commented Sep 19, 2019

I update user profile picture using the following snippet, but the updated info does not reflect in client.user

export async function updateUser(user) {
  // if (chatClient.user)
  const res = await chatClient.updateUser({
    id: user.uid,
    name: user.displayName,
    image: user.photoURL,
  })
}
@vishalnarkhede vishalnarkhede self-assigned this Oct 4, 2019
@vishalnarkhede vishalnarkhede added the duplicate This issue or pull request already exists label Oct 4, 2019
@vishalnarkhede
Copy link
Contributor

Duplicate of #133 . Its in progress :)

@vishalnarkhede
Copy link
Contributor

Hey @earthlingstd ,

This issue has been fixed. Once the user receives user.updated event, you will see the updated information in client.user object.

@vishalnarkhede
Copy link
Contributor

Closing this issue now!! Please reopen if its not working for you!

kevinnath1007 pushed a commit to kevinnath1007/stream-chat-js that referenced this issue Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants