From 1b22cc8f6d79b168f71acb4293f255a046250317 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 25 Mar 2021 17:41:26 +0000 Subject: [PATCH] delint --- src/stores/SpaceStore.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/SpaceStore.tsx b/src/stores/SpaceStore.tsx index 02c6c99bb9..d269f6c415 100644 --- a/src/stores/SpaceStore.tsx +++ b/src/stores/SpaceStore.tsx @@ -294,7 +294,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient { } }; - 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 { case EventType.RoomMember: if (room.isSpaceRoom()) { - this.onSpaceMembersChange(room, ev); + this.onSpaceMembersChange(ev); } break; }