mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
rename to not have conflict between method name and instance of CreateRoomViewModel
This commit is contained in:
parent
4b1be30dc0
commit
a1e14c4eec
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user