From eeddf6b3500e8eb62035ded70a3f2e0054de6cb2 Mon Sep 17 00:00:00 2001 From: Calin Chitu Date: Fri, 2 Jul 2021 16:50:44 +0300 Subject: [PATCH] feat(native-participants-pane) fixed lint errors --- .../participants-pane/components/native/ParticipantsPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/participants-pane/components/native/ParticipantsPane.js b/react/features/participants-pane/components/native/ParticipantsPane.js index cfecfca6f..b9aecca89 100644 --- a/react/features/participants-pane/components/native/ParticipantsPane.js +++ b/react/features/participants-pane/components/native/ParticipantsPane.js @@ -35,7 +35,7 @@ const ParticipantsPane = () => { const isLocalModerator = useSelector(isLocalParticipantModerator); const participantsCount = useSelector(getParticipantCount); const everyoneModerator = useSelector(isEveryoneModerator); - const showContextMenu = true; + const showContextMenu = !everyoneModerator && participantsCount > 2; const muteAll = useCallback(() => dispatch(openDialog(MuteEveryoneDialog)), [ dispatch ]); const { t } = useTranslation();