rename to not have conflict between method name and instance of CreateRoomViewModel

This commit is contained in:
Bruno Windels 2022-02-09 19:02:18 +01:00
parent 4b1be30dc0
commit a1e14c4eec

View file

@ -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 {