use persistence storage

This commit is contained in:
Salvatore Giordano
2021-07-20 11:31:53 +02:00
parent 33032cc08b
commit d5cff7e2c2
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class _MyAppState extends State<MyApp>
final client = StreamChatClient(
apiKey ?? kDefaultStreamApiKey,
logLevel: Level.SEVERE,
);
)..chatPersistenceClient = chatPersistentClient;
if (userId != null && token != null) {
await client.connectUser(