fix unread count
This commit is contained in:
@@ -1588,7 +1588,7 @@ class ChannelClientState {
|
|||||||
readList.add(Read(
|
readList.add(Read(
|
||||||
user: event.user!,
|
user: event.user!,
|
||||||
lastRead: event.createdAt!,
|
lastRead: event.createdAt!,
|
||||||
unreadMessages: event.totalUnreadCount!,
|
unreadMessages: event.totalUnreadCount ?? 0,
|
||||||
));
|
));
|
||||||
_channelState = _channelState.copyWith(read: readList);
|
_channelState = _channelState.copyWith(read: readList);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user