forked from Mirrors/gomuks
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)
|
||||
changedRoomListEntries.set(roomID, null)
|
||||
this.#applyUnreadModification(null, this.roomListEntries.get(roomID))
|
||||
}
|
||||
|
||||
let updatedRoomList: RoomListEntry[] | undefined
|
||||
|
|
Loading…
Add table
Reference in a new issue