From 4fd3e2ab20e59f5b9aac7c01b76b3cd7a2ea99a3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Aug 2020 16:07:04 +0200 Subject: [PATCH] response is a method --- src/matrix/room/members/load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/members/load.js b/src/matrix/room/members/load.js index 54d7c3dc..667bec96 100644 --- a/src/matrix/room/members/load.js +++ b/src/matrix/room/members/load.js @@ -31,7 +31,7 @@ async function fetchMembers({summary, roomId, hsApi, storage, setChangedMembersM const changedMembersDuringSync = new Map(); setChangedMembersMap(changedMembersDuringSync); - const memberResponse = await hsApi.members(roomId, {at: summary.lastPaginationToken}).response; + const memberResponse = await hsApi.members(roomId, {at: summary.lastPaginationToken}).response(); const txn = await storage.readWriteTxn([ storage.storeNames.roomSummary,