Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Allow AV moderation for p2p users.

Дамян Минковe63b3016c9d9
diff --git a/react/features/participants-pane/functions.js b/react/features/participants-pane/functions.js
index 5a112cca9d..7358f6763d 100644
--- a/react/features/participants-pane/functions.js
+++ b/react/features/participants-pane/functions.js
@@ -9,7 +9,6 @@ import { getFeatureFlag, INVITE_ENABLED } from '../base/flags';
import { MEDIA_TYPE, type MediaType } from '../base/media/constants';
import {
getDominantSpeakerParticipant,
- getParticipantCount,
isLocalParticipantModerator,
isParticipantModerator
} from '../base/participants/functions';
@@ -50,7 +49,7 @@ export const findStyledAncestor = (target: Object, component: any) => {
* @returns {MediaState}
*/
export function isForceMuted(participant: Object, mediaType: MediaType, state: Object) {
- if (getParticipantCount(state) > 2 && isEnabledFromState(mediaType, state)) {
+ if (isEnabledFromState(mediaType, state)) {
if (participant.local) {
return !isLocalParticipantApprovedFromState(mediaType, state);
}