Fix: Group video calls (#2319)
This commit is contained in:
parent
4eb3db4626
commit
661b2b62e0
@ -17,7 +17,7 @@ export function updateGroupCall(
|
||||
...global.groupCalls.byId[groupCallId]?.participants,
|
||||
...groupCallUpdate.participants,
|
||||
});
|
||||
const filtered = unfiltered.filter(({ isLeft }) => isLeft);
|
||||
const filtered = unfiltered.filter(({ isLeft }) => !isLeft);
|
||||
const participants = filtered.reduce((acc: Record<string, GroupCallParticipant>, el) => {
|
||||
acc[el.id] = el;
|
||||
return acc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user