diff --git a/packages/stream_chat/lib/src/db/chat_persistence_client.dart b/packages/stream_chat/lib/src/db/chat_persistence_client.dart index 07424299..50222499 100644 --- a/packages/stream_chat/lib/src/db/chat_persistence_client.dart +++ b/packages/stream_chat/lib/src/db/chat_persistence_client.dart @@ -200,7 +200,7 @@ abstract class ChatPersistenceClient { ...it.latestReactions!.where((r) => r.userId != null) ]); - var users = channelStates + final users = channelStates .map((cs) => [ cs.channel?.createdBy, ...cs.messages