From 081820d8fb638bb4e86a6273fadd86bd3881f5f2 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 13 Oct 2020 15:14:07 +0200 Subject: [PATCH] also update view when going to an not-found room --- src/domain/session/SessionViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/SessionViewModel.js b/src/domain/session/SessionViewModel.js index f0adb395..1d305b20 100644 --- a/src/domain/session/SessionViewModel.js +++ b/src/domain/session/SessionViewModel.js @@ -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"); } }