Replace deprecated CallMembership.sender with userId
This commit is contained in:
1 parent
bcbf7a90f0
commit
13636b78d9
16 files changed
+61
-63
No files matched your search
@@ -211,7 +211,7 @@ export const GroupCallView: FC<Props> = ({
|
||||
|
||||
// Count each member only once, regardless of how many devices they use
|
||||
const participantCount = useMemo(
|
||||
() => new Set<string>(memberships.map((m) => m.sender!)).size,
|
||||
() => new Set<string>(memberships.map((m) => m.userId!)).size,
|
||||
[memberships],
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user