mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
actually pass the room id
This commit is contained in:
parent
78c3157a5f
commit
fef6586e5b
@ -244,7 +244,7 @@ export class DeviceTracker {
|
|||||||
// we check which ones have the roomId for the room we're looking at.
|
// we check which ones have the roomId for the room we're looking at.
|
||||||
|
|
||||||
// So, this will also contain non-joined memberships
|
// 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)));
|
const allMemberIdentities = await Promise.all(userIds.map(userId => txn.userIdentities.get(userId)));
|
||||||
identities = allMemberIdentities.filter(identity => {
|
identities = allMemberIdentities.filter(identity => {
|
||||||
// identity will be missing for any userIds that don't have
|
// identity will be missing for any userIds that don't have
|
||||||
|
Loading…
Reference in New Issue
Block a user