mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
WIP2
This commit is contained in:
parent
bc09ede09f
commit
0b04612d6c
@ -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 New Issue
Block a user