projects
/
cinny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ba6c9
)
clear stores in invalid session bug fixed
author
unknown
<ajbura@gmail.com>
Tue, 10 Aug 2021 06:40:02 +0000
(12:10 +0530)
committer
unknown
<ajbura@gmail.com>
Tue, 10 Aug 2021 06:40:02 +0000
(12:10 +0530)
src/client/initMatrix.js
patch
|
blob
|
history
diff --git
a/src/client/initMatrix.js
b/src/client/initMatrix.js
index 596bc2d44be1548bfd6b8ad6c02fbf5cfbe87c8d..26d07e6c17ec8a90390cc11d2220a27fa4eb1edd 100644
(file)
--- 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();