-
Notifications
You must be signed in to change notification settings - Fork 326
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
fix: channel.visible not taking sort and pinned channels into account #2925
Conversation
SDK Size
|
I am not sure if I understand this correctly. We added a condition for handling archiving channels in the |
That's my bad, I meant to say that pinning isn't respected * |
🎉 This PR is included in version 6.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
This PR fixes an issue with channel pinning where pinned channels aren't respected if a channel goes from hidden to visible.
Steps to reproduce:
ChannelList
channel
(not a pinned one) andchannel.hide()
itchannel.show()
without reloading the app (so that no HTTP requests are done in the meantime)channel
will not respect pinned onesAlso, pretty sure thatnotification.message_new
handler is also incorrect since it doesn't take archiving into account, but will look into that on Monday.Update: This was indeed an issue with
notification.message_new
as well and is fixed in this PR.This is already fixed in the recent reactive channel list state PR in the LLC, but porting it here too so that we don't leave the SDK with a bug until that one gets merged.
🛠 Implementation details
🎨 UI Changes
iOS
Android
🧪 Testing
☑️ Checklist
develop
branch