You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
dont remove tags prop from state on logout as we assume its always there
This commit is contained in:
@@ -113,7 +113,8 @@ class CustomRoomTagStore extends EventEmitter {
|
||||
}
|
||||
break;
|
||||
case 'on_logged_out': {
|
||||
this._state = {};
|
||||
// we assume to always have a tags object in the state
|
||||
this._state = {tags: {}};
|
||||
if (this._roomListStoreToken) {
|
||||
this._roomListStoreToken.remove();
|
||||
this._roomListStoreToken = null;
|
||||
|
||||
Reference in New Issue
Block a user