mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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,
|
||||
// so emit all fields originating from summary
|
||||
_onRoomChange() {
|
||||
if (this._room.isArchived) {
|
||||
this._composerVM.emitChange();
|
||||
}
|
||||
// propagate the update to the child view models so it's bindings can update based on room changes
|
||||
this._composerVM.emitChange();
|
||||
this.emitChange();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user