mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add screensharing behind a feature flag
This commit is contained in:
committed by
Scott Nonnenberg
parent
7c7f7ee5a0
commit
ceffc2380c
@@ -96,9 +96,8 @@ export const CallingPipRemoteVideo = ({
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return maxBy(
|
||||
activeCall.remoteParticipants,
|
||||
participant => participant.speakerTime || -Infinity
|
||||
return maxBy(activeCall.remoteParticipants, participant =>
|
||||
participant.presenting ? Infinity : participant.speakerTime || -Infinity
|
||||
);
|
||||
}, [activeCall.callMode, activeCall.remoteParticipants]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user