mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-01-01 12:26:18 +00:00
clear stores in invalid session bug fixed
This commit is contained in:
parent
92ba6c9802
commit
90e67b22b4
|
@ -77,6 +77,7 @@ class InitMatrix extends EventEmitter {
|
|||
|
||||
listenEvents() {
|
||||
this.matrixClient.on('Session.logged_out', () => {
|
||||
this.matrixClient.stopClient();
|
||||
this.matrixClient.clearStores();
|
||||
window.localStorage.clear();
|
||||
window.location.reload();
|
||||
|
|
Loading…
Reference in a new issue