Don't use event.sender

Pull in a js-sdk change to avoid using event.sender (see js-sdk PR
for details).

Fixes https://github.com/vector-im/element-call/issues/1697
This commit is contained in:
David Baker
2023-10-09 20:49:03 +01:00
parent e2abeba194
commit 07cde7ee4d
3 changed files with 5 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ export function GroupCallView({
// Count each member only once, regardless of how many devices they use
const participantCount = useMemo(
() => new Set<string>(memberships.map((m) => m.member.userId)).size,
() => new Set<string>(memberships.map((m) => m.sender!)).size,
[memberships]
);