add persistence

This commit is contained in:
Salvatore Giordano
2021-03-03 11:37:06 +01:00
parent b7d84a100d
commit d261e2e642
+1 -1
View File
@@ -56,7 +56,7 @@ class _MyAppState extends State<MyApp> with TickerProviderStateMixin {
final client = StreamChatClient(
apiKey ?? kDefaultStreamApiKey,
logLevel: Level.INFO,
);
)..chatPersistenceClient = chatPersistentClient;
if (userId != null) {
await client.connectUser(