forked from mystiq/hydrogen-web
Merge pull request #790 from vector-im/fix-hide-composer
Pass childOptions to LowPowerLevelViewModel
This commit is contained in:
commit
8291aea2f7
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ export class RoomViewModel extends ViewModel {
|
||||||
this._composerVM = this.track(new ComposerViewModel(this));
|
this._composerVM = this.track(new ComposerViewModel(this));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this._composerVM = this.track(new LowerPowerLevelViewModel());
|
this._composerVM = this.track(new LowerPowerLevelViewModel(this.childOptions()));
|
||||||
}
|
}
|
||||||
this.emitChange("powerLevelObservable")
|
this.emitChange("powerLevelObservable")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue