Merge pull request #790 from vector-im/fix-hide-composer

Pass childOptions to LowPowerLevelViewModel
This commit is contained in:
R Midhun Suresh 2022-07-07 18:19:08 +05:30 committed by GitHub
commit 8291aea2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export class RoomViewModel extends ViewModel {
this._composerVM = this.track(new ComposerViewModel(this));
}
else {
this._composerVM = this.track(new LowerPowerLevelViewModel());
this._composerVM = this.track(new LowerPowerLevelViewModel(this.childOptions()));
}
this.emitChange("powerLevelObservable")
};