mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/statestore: clear unreads when rejecting invite or leaving room
This commit is contained in:
parent
cb08f43535
commit
158745b7a0
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ export class StateStore {
|
||||||
}
|
}
|
||||||
this.rooms.delete(roomID)
|
this.rooms.delete(roomID)
|
||||||
changedRoomListEntries.set(roomID, null)
|
changedRoomListEntries.set(roomID, null)
|
||||||
|
this.#applyUnreadModification(null, this.roomListEntries.get(roomID))
|
||||||
}
|
}
|
||||||
|
|
||||||
let updatedRoomList: RoomListEntry[] | undefined
|
let updatedRoomList: RoomListEntry[] | undefined
|
||||||
|
|
Loading…
Add table
Reference in a new issue