From 007333628ae870f835575fbb8a3415f23dabadf8 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Aug 2020 16:10:18 +0200 Subject: [PATCH] add todo for /sync <-> /members race --- src/matrix/room/Room.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 6b23ad35..98cde3a5 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -145,6 +145,7 @@ export class Room extends EventEmitter { /** @public */ async loadMemberList() { if (this._memberList) { + // TODO: also await fetchOrLoadMembers promise here this._memberList.retain(); return this._memberList; } else {