Skip to content

Commit

Permalink
web/statestore: clear unreads when rejecting invite or leaving room
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jan 4, 2025
1 parent cb08f43 commit 158745b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/api/statestore/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 158745b

Please sign in to comment.