Update docusaurus/docs/Flutter/guides/adding_local_data_persistence.mdx

Co-authored-by: Sahil Kumar <[email protected]>
This commit is contained in:
Deven Joshi
2021-08-05 15:15:03 +05:30
committed by GitHub
co-authored by Sahil Kumar
parent 2b57076a32
commit 291d33434d
@@ -69,8 +69,8 @@ information every time it receives new data about channels/messages/users.
### Multi-user
The DB file is named after the `userId`, so if you instantiate a client using a different `userId` you will use a different database.
Calling `client.disconnect(flushOfflineStorage: true)` flushes all current database data.
Calling `client.disconnectUser(flushChatPersistence: true)` flushes all current database data.
### Updating/deleting/sending a message while offline
The information about the action is saved in offline storage. When the client returns online, everything is retried.
The information about the action is saved in offline storage. When the client returns online, everything is retried.