delint
This commit is contained in:
parent
a2fe964a31
commit
1b22cc8f6d
1 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
}
|
||||
};
|
||||
|
||||
private onSpaceMembersChange = (space: Room, ev: MatrixEvent) => {
|
||||
private onSpaceMembersChange = (ev: MatrixEvent) => {
|
||||
// skip this update if we do not have a DM with this user
|
||||
if (DMRoomMap.shared().getDMRoomsForUserId(ev.getStateKey()).length < 1) return;
|
||||
this.onRoomsUpdate();
|
||||
|
@ -412,7 +412,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
|
||||
case EventType.RoomMember:
|
||||
if (room.isSpaceRoom()) {
|
||||
this.onSpaceMembersChange(room, ev);
|
||||
this.onSpaceMembersChange(ev);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue