no need to update tags when app is booting, wait till sync

pull/21833/head
Bruno Windels 2019-02-07 14:41:39 +00:00
parent 64bb6d2b1f
commit d2ac434545
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class CustomRoomTagStore extends EventEmitter {
constructor() {
super();
// Initialise state
this._state = {tags: this._getUpdatedTags()};
this._state = {tags: {}};
this._roomListStoreToken = RoomListStore.addListener(() => {
this._setState({tags: this._getUpdatedTags()});