also update view when going to an not-found room

This commit is contained in:
Bruno Windels 2020-10-13 15:14:07 +02:00
parent a14795e3f8
commit 081820d8fb

View file

@ -161,7 +161,7 @@ export class SessionViewModel extends ViewModel {
const roomVM = this._createRoomViewModel(roomId);
if (roomVM) {
this._currentRoomViewModel = this.track(roomVM);
this.emitChange("currentRoom");
}
this.emitChange("currentRoom");
}
}