You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Clear electron data when logging out (#10386)
This commit is contained in:
committed by
GitHub
parent
f37ae1e230
commit
1e651bf1a5
@@ -862,6 +862,7 @@ export async function onLoggedOut(): Promise<void> {
|
||||
stopMatrixClient();
|
||||
await clearStorage({ deleteEverything: true });
|
||||
LifecycleCustomisations.onLoggedOutAndStorageCleared?.();
|
||||
await PlatformPeg.get()?.clearStorage();
|
||||
|
||||
// Do this last, so we can make sure all storage has been cleared and all
|
||||
// customisations got the memo.
|
||||
|
Reference in New Issue
Block a user