From bfe3d648e294f1518ece26a3b2c83b3a3d29f330 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 26 Feb 2021 22:08:36 +0000 Subject: [PATCH] Update src/stores/room-list/algorithms/Algorithm.ts Co-authored-by: Travis Ralston --- src/stores/room-list/algorithms/Algorithm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts index 40fdae5ae4..fed3099325 100644 --- a/src/stores/room-list/algorithms/Algorithm.ts +++ b/src/stores/room-list/algorithms/Algorithm.ts @@ -186,7 +186,7 @@ export class Algorithm extends EventEmitter { } private async doUpdateStickyRoom(val: Room) { - // no-op sticky rooms + // no-op sticky rooms for spaces - they're effectively virtual rooms if (val?.isSpaceRoom() && val.getMyMembership() !== "invite") val = null; // Note throughout: We need async so we can wait for handleRoomUpdate() to do its thing,