diff --git a/stream_chat_v1/lib/main.dart b/stream_chat_v1/lib/main.dart index 9ca609c..f9c81fc 100644 --- a/stream_chat_v1/lib/main.dart +++ b/stream_chat_v1/lib/main.dart @@ -56,7 +56,7 @@ class _MyAppState extends State with TickerProviderStateMixin { final client = StreamChatClient( apiKey ?? kDefaultStreamApiKey, logLevel: Level.INFO, - ); + )..chatPersistenceClient = chatPersistentClient; if (userId != null) { await client.connectUser(