diff --git a/src/client/initMatrix.js b/src/client/initMatrix.js index 596bc2d..26d07e6 100644 --- a/src/client/initMatrix.js +++ b/src/client/initMatrix.js @@ -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();