add todo for /sync <-> /members race

This commit is contained in:
Bruno Windels 2020-08-31 16:10:18 +02:00
parent 15ae35bbbc
commit 007333628a

View file

@ -145,6 +145,7 @@ export class Room extends EventEmitter {
/** @public */ /** @public */
async loadMemberList() { async loadMemberList() {
if (this._memberList) { if (this._memberList) {
// TODO: also await fetchOrLoadMembers promise here
this._memberList.retain(); this._memberList.retain();
return this._memberList; return this._memberList;
} else { } else {