Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(config): Drops legacy config prejoinPageEnabled.

damenchod15cfd845a40
diff --git a/config.js b/config.js
index 73db20b112..961c8e4ada 100644
--- a/config.js
+++ b/config.js
@@ -791,7 +791,6 @@ var config = {
// Configs for prejoin page.
// prejoinConfig: {
// // When 'true', it shows an intermediate page before joining, where the user can configure their devices.
- // // This replaces `prejoinPageEnabled`. Defaults to true.
// 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
diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.ts
index 8ecbe0a1d0..5620577524 100644
--- a/react/features/base/config/configType.ts
+++ b/react/features/base/config/configType.ts
@@ -521,7 +521,6 @@ export interface IConfig {
preCallTestEnabled?: boolean;
preCallTestICEUrl?: string;
};
- prejoinPageEnabled?: boolean;
raisedHands?: {
disableLowerHandByModerator?: boolean;
disableLowerHandNotification?: boolean;
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index b9d73a34ad..aa4954415c 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -202,7 +202,6 @@ export default [
'prejoinConfig.enabled',
'prejoinConfig.hideDisplayName',
'prejoinConfig.hideExtraJoinButtons',
- 'prejoinPageEnabled',
'raisedHands',
'recordingService',
'requireDisplayName',
diff --git a/react/features/base/config/functions.any.ts b/react/features/base/config/functions.any.ts
index 17ab00108f..28ee959ddd 100644
--- a/react/features/base/config/functions.any.ts
+++ b/react/features/base/config/functions.any.ts
@@ -375,8 +375,7 @@ export function setConfigFromURLParams(
// When not in an iframe, start without media if the pre-join page is not enabled.
if (!isEmbedded()
- && ('config.prejoinConfig.enabled' in params || 'config.prejoinPageEnabled' in params)
- && (config.prejoinConfig?.enabled === false || config.prejoinPageEnabled === false)) {
+ && 'config.prejoinConfig.enabled' in params && config.prejoinConfig?.enabled === false) {
logger.warn('Using prejoinConfig.enabled config URL overwrite implies starting without media.');
config.disableInitialGUM = true;
}
diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts
index 8b039d60c1..020d2b50ea 100644
--- a/react/features/base/config/reducer.ts
+++ b/react/features/base/config/reducer.ts
@@ -405,11 +405,6 @@ function _translateLegacyConfig(oldValue: IConfig) {
newValue.welcomePage.disabled = !oldValue.enableWelcomePage;
}
- newValue.prejoinConfig = oldValue.prejoinConfig || {};
- if (oldValue.hasOwnProperty('prejoinPageEnabled')) {
- newValue.prejoinConfig.enabled = oldValue.prejoinPageEnabled;
- }
-
newValue.disabledSounds = newValue.disabledSounds || [];
if (oldValue.disableJoinLeaveSounds) {