From fef6586e5b8b1c837c4489ffde97c80c39b3504d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Aug 2020 16:06:31 +0200 Subject: [PATCH] actually pass the room id --- src/matrix/e2ee/DeviceTracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/DeviceTracker.js b/src/matrix/e2ee/DeviceTracker.js index 41e9d231..3c64f81f 100644 --- a/src/matrix/e2ee/DeviceTracker.js +++ b/src/matrix/e2ee/DeviceTracker.js @@ -244,7 +244,7 @@ export class DeviceTracker { // we check which ones have the roomId for the room we're looking at. // So, this will also contain non-joined memberships - const userIds = await txn.roomMembers.getAllUserIds(); + const userIds = await txn.roomMembers.getAllUserIds(roomId); const allMemberIdentities = await Promise.all(userIds.map(userId => txn.userIdentities.get(userId))); identities = allMemberIdentities.filter(identity => { // identity will be missing for any userIds that don't have