forked from mystiq/hydrogen-web
also update view when going to an not-found room
This commit is contained in:
parent
a14795e3f8
commit
081820d8fb
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ export class SessionViewModel extends ViewModel {
|
||||||
const roomVM = this._createRoomViewModel(roomId);
|
const roomVM = this._createRoomViewModel(roomId);
|
||||||
if (roomVM) {
|
if (roomVM) {
|
||||||
this._currentRoomViewModel = this.track(roomVM);
|
this._currentRoomViewModel = this.track(roomVM);
|
||||||
this.emitChange("currentRoom");
|
|
||||||
}
|
}
|
||||||
|
this.emitChange("currentRoom");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue