From 158745b7a0429ff56339210554106c2fb95d27a3 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 5 Jan 2025 01:30:42 +0200 Subject: [PATCH] web/statestore: clear unreads when rejecting invite or leaving room --- web/src/api/statestore/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/api/statestore/main.ts b/web/src/api/statestore/main.ts index 31fe6572..c430fa77 100644 --- a/web/src/api/statestore/main.ts +++ b/web/src/api/statestore/main.ts @@ -315,6 +315,7 @@ export class StateStore { } this.rooms.delete(roomID) changedRoomListEntries.set(roomID, null) + this.#applyUnreadModification(null, this.roomListEntries.get(roomID)) } let updatedRoomList: RoomListEntry[] | undefined