Add method to show join room view

This commit is contained in:
RMidhunSuresh 2022-09-12 17:20:30 +05:30
parent 84920622e3
commit f1b86e3532
No known key found for this signature in database

View File

@ -77,6 +77,10 @@ export class LeftPanelViewModel extends ViewModel {
this.navigation.push("create-room");
}
showJoinRoomView() {
this.navigation.push("join-room");
}
_setupNavigation() {
const roomObservable = this.navigation.observe("room");
this.track(roomObservable.subscribe(roomId => this._open(roomId)));