Merge pull request #885 from vector-im/fix-866

Fix sync error
This commit is contained in:
Bruno Windels 2022-10-14 07:53:56 +00:00 committed by GitHub
commit 89d031990f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ export class RoomViewModel extends ViewModel {
// so emit all fields originating from summary
_onRoomChange() {
// 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();
}