This commit is contained in:
Bruno Windels 2020-08-19 16:58:19 +02:00
parent faaabd1837
commit 113c9e13b3

View file

@ -22,7 +22,7 @@ import {Timeline} from "./timeline/Timeline.js";
import {FragmentIdComparer} from "./timeline/FragmentIdComparer.js"; import {FragmentIdComparer} from "./timeline/FragmentIdComparer.js";
import {SendQueue} from "./sending/SendQueue.js"; import {SendQueue} from "./sending/SendQueue.js";
import {WrappedError} from "../error.js" import {WrappedError} from "../error.js"
import {fetchOrloadMembers} from "./members/load.js"; import {fetchOrLoadMembers} from "./members/load.js";
import {MemberList} from "./members/MemberList.js"; import {MemberList} from "./members/MemberList.js";
export class Room extends EventEmitter { export class Room extends EventEmitter {
@ -98,7 +98,7 @@ export class Room extends EventEmitter {
this._memberList.retain(); this._memberList.retain();
return this._memberList; return this._memberList;
} else { } else {
const members = await fetchOrloadMembers({ const members = await fetchOrLoadMembers({
summary: this._summary, summary: this._summary,
roomId: this._roomId, roomId: this._roomId,
hsApi: this._hsApi, hsApi: this._hsApi,