Merge pull request #1005 from GetStream/hotfix/unreadCount
fix(llc): unread count specific to channel setting wrong number
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
## Upcoming
|
||||||
|
|
||||||
|
🐞 Fixed
|
||||||
|
- Unread count specific to channel setting global unread count on a specific case.
|
||||||
|
|
||||||
## 3.5.0
|
## 3.5.0
|
||||||
|
|
||||||
✅ Added
|
✅ Added
|
||||||
|
|||||||
@@ -1902,7 +1902,6 @@ class ChannelClientState {
|
|||||||
readList.add(Read(
|
readList.add(Read(
|
||||||
user: event.user!,
|
user: event.user!,
|
||||||
lastRead: event.createdAt,
|
lastRead: event.createdAt,
|
||||||
unreadMessages: event.totalUnreadCount ?? 0,
|
|
||||||
));
|
));
|
||||||
_channelState = _channelState.copyWith(read: readList);
|
_channelState = _channelState.copyWith(read: readList);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user