You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Appease the linter
This commit is contained in:
@@ -61,7 +61,7 @@ class CustomRoomTagStore extends EventEmitter {
|
|||||||
trailing: true,
|
trailing: true,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
RoomListStore.instance.on(LISTS_UPDATE_EVENT,this._onListsUpdated);
|
RoomListStore.instance.on(LISTS_UPDATE_EVENT, this._onListsUpdated);
|
||||||
dis.register(payload => this._onDispatch(payload));
|
dis.register(payload => this._onDispatch(payload));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ class CustomRoomTagStore extends EventEmitter {
|
|||||||
case 'on_logged_out': {
|
case 'on_logged_out': {
|
||||||
// we assume to always have a tags object in the state
|
// we assume to always have a tags object in the state
|
||||||
this._state = {tags: {}};
|
this._state = {tags: {}};
|
||||||
RoomListStore.instance.off(LISTS_UPDATE_EVENT,this._onListsUpdated);
|
RoomListStore.instance.off(LISTS_UPDATE_EVENT, this._onListsUpdated);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -14,10 +14,7 @@ import GroupStore from '../../../../src/stores/GroupStore.js';
|
|||||||
|
|
||||||
import { MatrixClient, Room, RoomMember } from 'matrix-js-sdk';
|
import { MatrixClient, Room, RoomMember } from 'matrix-js-sdk';
|
||||||
import {DefaultTagID} from "../../../../src/stores/room-list/models";
|
import {DefaultTagID} from "../../../../src/stores/room-list/models";
|
||||||
import RoomListStore, {
|
import RoomListStore, { LISTS_UPDATE_EVENT, RoomListStoreClass } from "../../../../src/stores/room-list/RoomListStore";
|
||||||
LISTS_UPDATE_EVENT,
|
|
||||||
RoomListStoreClass
|
|
||||||
} from "../../../../src/stores/room-list/RoomListStore";
|
|
||||||
import RoomListLayoutStore from "../../../../src/stores/room-list/RoomListLayoutStore";
|
import RoomListLayoutStore from "../../../../src/stores/room-list/RoomListLayoutStore";
|
||||||
|
|
||||||
function generateRoomId() {
|
function generateRoomId() {
|
||||||
|
Reference in New Issue
Block a user