You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a distinct channel is created (without providing an id), unread flag is getting reset after doing channels refresh.
Recording.2024-05-14.165307.mp4
When listening for an unreadChannelsStream, the event emits 0 for distinct channels even there are unread messages. StreamChat.of(context).client.state.unreadChannelsStream.listen((event) { print(event); // 0 });
Both issues don't happen with not distinct channels. Update: I have found that the issues only happens on recreated distinct channels.
Steps to reproduce
1. Create a distinct channel
2. Send a message
4. Use the other user
5. Channel should have an unread flag
6. Pull down to refresh
7. Unread flag is gone
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
Android, Web
What version are you using?
stream_chat_flutter - 7.2.0
What happened?
Recording.2024-05-14.165307.mp4
StreamChat.of(context).client.state.unreadChannelsStream.listen((event) { print(event); // 0 });
Both issues don't happen with not distinct channels.
Update: I have found that the issues only happens on recreated distinct channels.
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: