forked from mystiq/hydrogen-web
WIP2
This commit is contained in:
parent
bc09ede09f
commit
0b04612d6c
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue