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,