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

[CIS-1072] Fix hiding already hidden channels #1327

Merged
merged 1 commit into from
Jul 28, 2021
Merged

Conversation

b-onc
Copy link
Contributor

@b-onc b-onc commented Jul 28, 2021

This fix is for the case where the channel is already hidden on backend but SDK is not aware of this (so channel.hiddenAt is not set)
Consecutive hideChannel calls won't generate channel.hidden events and SDK has no way to learn channel was hidden
So, ChannelUpdater marks the Channel as hidden on successful API response

This fix is for the case where the channel is already hidden on backend but SDK is not aware of this (so channel.hiddenAt is not set)
Consecutive `hideChannel` calls won't generate `channel.hidden` events and SDK has no way to learn channel was hidden
So, ChannelUpdater marks the Channel as hidden on successful API response
@b-onc b-onc added 🐞 Bug An issue or PR related to a bug 🌐 SDK: StreamChat (LLC) Tasks related to the StreamChat LLC SDK labels Jul 28, 2021
@tbarbugli tbarbugli merged commit cea26e6 into main Jul 28, 2021
@tbarbugli tbarbugli deleted the cis-1072-hide-channel branch July 28, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug An issue or PR related to a bug 🌐 SDK: StreamChat (LLC) Tasks related to the StreamChat LLC SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants