diff --git a/src/domain/session/roomlist/RoomTileViewModel.js b/src/domain/session/roomlist/RoomTileViewModel.js index d79b4dbe..13a01309 100644 --- a/src/domain/session/roomlist/RoomTileViewModel.js +++ b/src/domain/session/roomlist/RoomTileViewModel.js @@ -44,10 +44,12 @@ export class RoomTileViewModel extends ViewModel { } open() { - this._isOpen = true; - this._wasUnreadWhenOpening = this._room.isUnread; - this.emitChange("isOpen"); - this._emitOpen(this._room, this); + if (!this._isOpen) { + this._isOpen = true; + this._wasUnreadWhenOpening = this._room.isUnread; + this.emitChange("isOpen"); + this._emitOpen(this._room, this); + } } compare(other) {