mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:35:04 +08:00
dont remove tags prop from state on logout as we assume its always there
This commit is contained in:
parent
7affcf7f4c
commit
64bb6d2b1f
@ -113,7 +113,8 @@ class CustomRoomTagStore extends EventEmitter {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'on_logged_out': {
|
case 'on_logged_out': {
|
||||||
this._state = {};
|
// we assume to always have a tags object in the state
|
||||||
|
this._state = {tags: {}};
|
||||||
if (this._roomListStoreToken) {
|
if (this._roomListStoreToken) {
|
||||||
this._roomListStoreToken.remove();
|
this._roomListStoreToken.remove();
|
||||||
this._roomListStoreToken = null;
|
this._roomListStoreToken = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user