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(chat) hides send private chat button when enable.chat flag is false.
titus.moldovan2587eefefc89
diff --git a/react/features/chat/components/PrivateMessageButton.js b/react/features/chat/components/PrivateMessageButton.jsindex f81d09b5bd..9d2f482f22 100644--- a/react/features/chat/components/PrivateMessageButton.js+++ b/react/features/chat/components/PrivateMessageButton.js@@ -1,5 +1,6 @@// @flow+import { CHAT_ENABLED, getFeatureFlag } from '../../base/flags';import { translate } from '../../base/i18n';import { IconMessage, IconReply } from '../../base/icons';import { getParticipantById } from '../../base/participants';@@ -77,8 +78,12 @@ class PrivateMessageButton extends AbstractButton<Props, any> {* @returns {Props}*/export function _mapStateToProps(state: Object, ownProps: Props): $Shape<Props> {+ const enabled = getFeatureFlag(state, CHAT_ENABLED, true);+ const { visible = enabled } = ownProps;+return {- _participant: getParticipantById(state, ownProps.participantID)+ _participant: getParticipantById(state, ownProps.participantID),+ visible};}