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(prejoin,config) move hidePrejoinDisplayName to the prejoin section
Saúl Ibarra Corretgé1dce802031b8
diff --git a/config.js b/config.jsindex 20bc65a9e1..341cdff92f 100644--- a/config.js+++ b/config.js@@ -495,11 +495,6 @@ var config = {// Hides add breakout room button// hideAddRoomButton: false,- // Hides the participant name editing field in the prejoin screen.- // If requireDisplayName is also set as true, a name should still be provided through- // either the jwt or the userInfo from the iframe api init object in order for this to have an effect.- // hidePrejoinDisplayName: false,-// Require users to always specify a display name.// requireDisplayName: true,@@ -564,6 +559,10 @@ var config = {// // When 'true', it shows an intermediate page before joining, where the user can configure their devices.// // This replaces `prejoinPageEnabled`.// enabled: true,+ // // Hides the participant name editing field in the prejoin screen.+ // // If requireDisplayName is also set as true, a name should still be provided through+ // // either the jwt or the userInfo from the iframe api init object in order for this to have an effect.+ // hideDisplayName: false,// // List of buttons to hide from the extra join options dropdown.// hideExtraJoinButtons: ['no-audio', 'by-phone']// },diff --git a/react/features/base/config/configWhitelist.js b/react/features/base/config/configWhitelist.jsindex 549734c29f..9bf2e6d679 100644--- a/react/features/base/config/configWhitelist.js+++ b/react/features/base/config/configWhitelist.js@@ -169,7 +169,6 @@ export default ['hideConferenceSubject','hideDisplayName','hideDominantSpeakerBadge',- 'hidePrejoinDisplayName','hideRecordingLabel','hideParticipantsStats','hideConferenceTimer',diff --git a/react/features/prejoin/functions.js b/react/features/prejoin/functions.jsindex d143aaab69..9b313b0509 100644--- a/react/features/prejoin/functions.js+++ b/react/features/prejoin/functions.js@@ -43,7 +43,7 @@ export function isDisplayNameRequired(state: Object): boolean {* @returns {boolean}*/export function isPrejoinDisplayNameVisible(state: Object): boolean {- return !state['features/base/config'].hidePrejoinDisplayName;+ return !state['features/base/config'].prejoinConfig?.hideDisplayName;}/**