Skip to content

Commit

Permalink
Merge pull request #885 from vector-im/fix-866
Browse files Browse the repository at this point in the history
Fix sync error
  • Loading branch information
bwindels authored Oct 14, 2022
2 parents d9a4a36 + 92ae3a3 commit 89d0319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/session/room/RoomViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 89d0319

Please sign in to comment.