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(toolbar-buttons) Hide/show invite button based on toolbarButtons
hmuresan74026e743c18
diff --git a/react/features/participants-pane/components/web/MeetingParticipantList.js b/react/features/participants-pane/components/web/MeetingParticipantList.jsindex 820a05faa3..274e5e3c59 100644--- a/react/features/participants-pane/components/web/MeetingParticipantList.js+++ b/react/features/participants-pane/components/web/MeetingParticipantList.js@@ -4,6 +4,7 @@ import React, { useCallback, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';import { useDispatch } from 'react-redux';+import { isToolbarButtonEnabled } from '../../../base/config/functions.web';import { openDialog } from '../../../base/dialog';import {getParticipantCountWithFake,@@ -160,7 +161,7 @@ function _mapStateToProps(state): Object {// and we will not re-render on change, but if count changes we will doconst participantsCount = getParticipantCountWithFake(state);- const showInviteButton = shouldRenderInviteButton(state);+ const showInviteButton = shouldRenderInviteButton(state) && isToolbarButtonEnabled('invite', state);return {sortedParticipantIds,