Participant list improvements
This commit is contained in:
parent
7ca063a274
commit
f8b4862ed5
13 changed files with 119 additions and 14 deletions
|
@ -195,7 +195,11 @@ export const CallScreen: React.FC<PropsType> = ({
|
|||
});
|
||||
|
||||
const remoteParticipants =
|
||||
call.callMode === CallMode.Group ? call.remoteParticipants.length : 0;
|
||||
call.callMode === CallMode.Group
|
||||
? activeCall.groupCallParticipants.length
|
||||
: 0;
|
||||
|
||||
const { showParticipantsList } = activeCall.activeCallState;
|
||||
|
||||
return (
|
||||
<div
|
||||
|
@ -232,6 +236,7 @@ export const CallScreen: React.FC<PropsType> = ({
|
|||
i18n={i18n}
|
||||
isGroupCall={call.callMode === CallMode.Group}
|
||||
remoteParticipants={remoteParticipants}
|
||||
showParticipantsList={showParticipantsList}
|
||||
toggleParticipants={toggleParticipants}
|
||||
togglePip={togglePip}
|
||||
toggleSettings={toggleSettings}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue