From a1e14c4eeca4b3841ace9e284fc82793de13a836 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 9 Feb 2022 19:02:18 +0100 Subject: [PATCH] rename to not have conflict between method name and instance of CreateRoomViewModel --- src/domain/session/RoomViewModelObservable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/RoomViewModelObservable.js b/src/domain/session/RoomViewModelObservable.js index c16aaf83..02a9a60b 100644 --- a/src/domain/session/RoomViewModelObservable.js +++ b/src/domain/session/RoomViewModelObservable.js @@ -76,7 +76,7 @@ export class RoomViewModelObservable extends ObservableValue { } else if (status & RoomStatus.Invited) { return this._sessionViewModel._createInviteViewModel(this.id); } else if (status & RoomStatus.Joined) { - return this._sessionViewModel._createRoomViewModel(this.id); + return this._sessionViewModel._createRoomViewModelInstance(this.id); } else if (status & RoomStatus.Archived) { return await this._sessionViewModel._createArchivedRoomViewModel(this.id); } else {