mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
also update view when going to an not-found room
This commit is contained in:
parent
a14795e3f8
commit
081820d8fb
@ -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 New Issue
Block a user