Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(participants-pane,video-menu) fix incorrect selector usage
Saúl Ibarra Corretgé0098091a37ec
diff --git a/react/features/participants-pane/components/native/ContextMenuMore.js b/react/features/participants-pane/components/native/ContextMenuMore.jsindex 2200370aaa..7e3b760364 100644--- a/react/features/participants-pane/components/native/ContextMenuMore.js+++ b/react/features/participants-pane/components/native/ContextMenuMore.js@@ -38,7 +38,7 @@ export const ContextMenuMore = () => {[ dispatch ]);const { t } = useTranslation();- const isModerationSupported = useSelector(isAvModerationSupported());+ const isModerationSupported = useSelector(isAvModerationSupported);const allModerators = useSelector(isEveryoneModerator);const participantCount = useSelector(getParticipantCount);diff --git a/react/features/participants-pane/components/web/FooterContextMenu.js b/react/features/participants-pane/components/web/FooterContextMenu.jsindex b35e882c79..c1770e9b1d 100644--- a/react/features/participants-pane/components/web/FooterContextMenu.js+++ b/react/features/participants-pane/components/web/FooterContextMenu.js@@ -84,7 +84,7 @@ type Props = {export const FooterContextMenu = ({ isOpen, onDrawerClose, onMouseLeave }: Props) => {const dispatch = useDispatch();- const isModerationSupported = useSelector(isAvModerationSupported());+ const isModerationSupported = useSelector(isAvModerationSupported);const allModerators = useSelector(isEveryoneModerator);const isModeratorSettingsTabEnabled = useSelector(shouldShowModeratorSettings);const participantCount = useSelector(getParticipantCount);diff --git a/react/features/video-menu/components/web/ParticipantContextMenu.js b/react/features/video-menu/components/web/ParticipantContextMenu.jsindex dcfd7e2398..f8dc6856aa 100644--- a/react/features/video-menu/components/web/ParticipantContextMenu.js+++ b/react/features/video-menu/components/web/ParticipantContextMenu.js@@ -145,7 +145,7 @@ const ParticipantContextMenu = ({const _volume = (participant?.local ?? true ? undefined: participant?.id ? participantsVolume[participant?.id] : undefined) ?? 1;const isBreakoutRoom = useSelector(isInBreakoutRoom);- const isModerationSupported = useSelector(isAvModerationSupported());+ const isModerationSupported = useSelector(isAvModerationSupported);const stageFilmstrip = useSelector(isStageFilmstripEnabled);const _currentRoomId = useSelector(getCurrentRoomId);