From bf6a1540dff088d59d1570a5135284905e8d7fd4 Mon Sep 17 00:00:00 2001 From: Tudor-Ovidiu Avram Date: Wed, 14 Oct 2020 12:20:32 +0300 Subject: [PATCH] fix(prejoin) guard case for locationUrl being falsy in prejoin screen --- react/features/conference/functions.web.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/react/features/conference/functions.web.js b/react/features/conference/functions.web.js index bac1fb2eb..80634c06d 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.