Skip to content

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

fix(participants-pan): Move the audio allow to be default.

damenchoab25d6c5ab33
diff --git a/react/features/participants-pane/functions.ts b/react/features/participants-pane/functions.ts
index 0295947f88..a3f4816c94 100644
--- a/react/features/participants-pane/functions.ts
+++ b/react/features/participants-pane/functions.ts
@@ -159,12 +159,12 @@ export function getQuickActionButtonType(
if (!isVideoMuted) {
return QUICK_ACTION_BUTTON.STOP_VIDEO;
}
- if (isVideoForceMuted) {
- return QUICK_ACTION_BUTTON.ALLOW_VIDEO;
- }
if (isSupported()(state) && !isParticipantSilent) {
return QUICK_ACTION_BUTTON.ASK_TO_UNMUTE;
}
+ if (isVideoForceMuted) {
+ return QUICK_ACTION_BUTTON.ALLOW_VIDEO;
+ }
}
return QUICK_ACTION_BUTTON.NONE;