forked from mystiq/hydrogen-web
cleanup
This commit is contained in:
parent
e8c20c28b2
commit
20493f9e87
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ export class Session {
|
|||
this._mediaRepository, this._platform, log);
|
||||
this._roomsBeingCreated.set(id, roomBeingCreated);
|
||||
const promises = [roomBeingCreated.create(this._hsApi, log)];
|
||||
const loadProfiles = !(options.loadProfiles === false); // default to true
|
||||
const loadProfiles = options.loadProfiles !== false; // default to true
|
||||
if (loadProfiles) {
|
||||
promises.push(roomBeingCreated.loadProfiles(this._hsApi, log));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue