fix(llc): fix user, channel unreadCount

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-11-30 23:39:22 +05:30
committed by xsahil03x
parent f7e7c897c8
commit 5826074f3d
2 changed files with 23 additions and 16 deletions
@@ -395,6 +395,9 @@ class StreamChatClient {
}
void _handleHealthCheckEvent(Event event) {
final user = event.me;
if (user != null) state.currentUser = user;
final connectionId = event.connectionId;
if (connectionId != null) {
_connectionIdManager.setConnectionId(connectionId);