From 43bea201e6f1c3d0ed0808d5812e5eb10a25a9dd Mon Sep 17 00:00:00 2001 From: Horatiu Muresan Date: Mon, 12 Sep 2022 09:43:35 +0300 Subject: [PATCH] fix(prejoin) Hide conference name based on config --- .../base/premeeting/components/web/PreMeetingScreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/base/premeeting/components/web/PreMeetingScreen.js b/react/features/base/premeeting/components/web/PreMeetingScreen.js index b9328dfc9..d0a40a85f 100644 --- a/react/features/base/premeeting/components/web/PreMeetingScreen.js +++ b/react/features/base/premeeting/components/web/PreMeetingScreen.js @@ -190,7 +190,7 @@ class PreMeetingScreen extends PureComponent { * @returns {Object} */ function mapStateToProps(state, ownProps): Object { - const { hiddenPremeetingButtons } = state['features/base/config']; + const { hiddenPremeetingButtons, hideConferenceSubject } = state['features/base/config']; const toolbarButtons = getToolbarButtons(state); const premeetingButtons = (ownProps.thirdParty ? THIRD_PARTY_PREJOIN_BUTTONS @@ -208,7 +208,7 @@ function mapStateToProps(state, ownProps): Object { ? premeetingButtons : premeetingButtons.filter(b => isToolbarButtonEnabled(b, toolbarButtons)), _premeetingBackground: premeetingBackground, - _roomName: getConferenceName(state) + _roomName: hideConferenceSubject ? undefined : getConferenceName(state) }; }