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(prejoin) guard case for locationUrl being falsy in prejoin screen

Tudor-Ovidiu Avrambf6a1540dff0
diff --git a/react/features/conference/functions.web.js b/react/features/conference/functions.web.js
index bac1fb2eb2..80634c06d5 100644
--- a/react/features/conference/functions.web.js
+++ b/react/features/conference/functions.web.js
@@ -77,9 +77,12 @@ export function getConferenceOptions(stateful) {
options.statisticsId = email;
}
+ if (locationURL) {
+ options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`;
+ }
+
options.applicationName = getName();
options.getWiFiStatsMethod = getWiFiStatsMethod;
- options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`;
options.createVADProcessor = createRnnoiseProcessorPromise;
// Disable CallStats, if requessted.