This commit is contained in:
Bruno Windels 2022-02-04 11:16:58 +01:00
parent bc09ede09f
commit 0b04612d6c

View file

@ -97,9 +97,8 @@ export class RoomViewModel extends ViewModel {
// room doesn't tell us yet which fields changed, // room doesn't tell us yet which fields changed,
// so emit all fields originating from summary // so emit all fields originating from summary
_onRoomChange() { _onRoomChange() {
if (this._room.isArchived) { // propagate the update to the child view models so it's bindings can update based on room changes
this._composerVM.emitChange(); this._composerVM.emitChange();
}
this.emitChange(); this.emitChange();
} }