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

fixed error on update user #3

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Conversation

i2gor87
Copy link
Contributor

@i2gor87 i2gor87 commented Feb 7, 2022

Consider flutter code:

await ChannelTalk.updateUser(name: "USER_NAME");
await ChannelTalk.showMessenger();

Because of let _ = user, error != nil in Swift code, ChannelTalk.updateUser failed without any message even if nothing was wrong. This fix addresses this problem.

Fixes #4

@i2gor87 i2gor87 mentioned this pull request Feb 7, 2022
@turlvo turlvo merged commit 4444b6d into turlvo:main Feb 7, 2022
@turlvo
Copy link
Owner

turlvo commented Feb 7, 2022

Thank you for your contribution.

turlvo added a commit that referenced this pull request Feb 7, 2022
turlvo added a commit that referenced this pull request Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on user update
2 participants