fix(prejoin,config) move hidePrejoinDisplayName to the prejoin section
This commit is contained in:
parent
11d61d6d7d
commit
1dce802031
|
@ -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']
|
||||
// },
|
||||
|
|
|
@ -169,7 +169,6 @@ export default [
|
|||
'hideConferenceSubject',
|
||||
'hideDisplayName',
|
||||
'hideDominantSpeakerBadge',
|
||||
'hidePrejoinDisplayName',
|
||||
'hideRecordingLabel',
|
||||
'hideParticipantsStats',
|
||||
'hideConferenceTimer',
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue