Merge pull request #750 from GetStream/hotfix/unread
fix(llc): fix channel unread count
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
🐞 Fixed
|
🐞 Fixed
|
||||||
|
|
||||||
- markAllRead() now updates local channel states.
|
- markAllRead() now updates local channel states.
|
||||||
|
- [[#744]](https://github.com/GetStream/stream-chat-flutter/issues/744) Fixed unread count not updating correctly
|
||||||
|
|
||||||
## 3.1.1
|
## 3.1.1
|
||||||
|
|
||||||
|
|||||||
@@ -1934,8 +1934,6 @@ class ChannelClientState {
|
|||||||
read: newReads,
|
read: newReads,
|
||||||
pinnedMessages: updatedState.pinnedMessages,
|
pinnedMessages: updatedState.pinnedMessages,
|
||||||
);
|
);
|
||||||
|
|
||||||
_computeUnread();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int _sortByCreatedAt(Message a, Message b) =>
|
int _sortByCreatedAt(Message a, Message b) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user