no need to update tags when app is booting, wait till sync
This commit is contained in:
@@ -48,7 +48,7 @@ class CustomRoomTagStore extends EventEmitter {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
// Initialise state
|
// Initialise state
|
||||||
this._state = {tags: this._getUpdatedTags()};
|
this._state = {tags: {}};
|
||||||
|
|
||||||
this._roomListStoreToken = RoomListStore.addListener(() => {
|
this._roomListStoreToken = RoomListStore.addListener(() => {
|
||||||
this._setState({tags: this._getUpdatedTags()});
|
this._setState({tags: this._getUpdatedTags()});
|
||||||
|
|||||||
Reference in New Issue
Block a user