Appease the linter

This commit is contained in:
Travis Ralston 2020-07-17 16:28:49 -06:00
parent 7fc5ba50c8
commit 2dfd636a9e
2 changed files with 3 additions and 6 deletions

View File

@ -61,7 +61,7 @@ class CustomRoomTagStore extends EventEmitter {
trailing: true,
},
);
RoomListStore.instance.on(LISTS_UPDATE_EVENT,this._onListsUpdated);
RoomListStore.instance.on(LISTS_UPDATE_EVENT, this._onListsUpdated);
dis.register(payload => this._onDispatch(payload));
}
@ -128,7 +128,7 @@ class CustomRoomTagStore extends EventEmitter {
case 'on_logged_out': {
// we assume to always have a tags object in the state
this._state = {tags: {}};
RoomListStore.instance.off(LISTS_UPDATE_EVENT,this._onListsUpdated);
RoomListStore.instance.off(LISTS_UPDATE_EVENT, this._onListsUpdated);
}
break;
}

View File

@ -14,10 +14,7 @@ import GroupStore from '../../../../src/stores/GroupStore.js';
import { MatrixClient, Room, RoomMember } from 'matrix-js-sdk';
import {DefaultTagID} from "../../../../src/stores/room-list/models";
import RoomListStore, {
LISTS_UPDATE_EVENT,
RoomListStoreClass
} from "../../../../src/stores/room-list/RoomListStore";
import RoomListStore, { LISTS_UPDATE_EVENT, RoomListStoreClass } from "../../../../src/stores/room-list/RoomListStore";
import RoomListLayoutStore from "../../../../src/stores/room-list/RoomListLayoutStore";
function generateRoomId() {