瀏覽代碼

fix(prejoin) guard case for locationUrl being falsy in prejoin screen

j8
Tudor-Ovidiu Avram 4 年之前
父節點
當前提交
bf6a1540df
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      react/features/conference/functions.web.js

+ 4
- 1
react/features/conference/functions.web.js 查看文件

@@ -77,9 +77,12 @@ export function getConferenceOptions(stateful) {
77 77
         options.statisticsId = email;
78 78
     }
79 79
 
80
+    if (locationURL) {
81
+        options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`;
82
+    }
83
+
80 84
     options.applicationName = getName();
81 85
     options.getWiFiStatsMethod = getWiFiStatsMethod;
82
-    options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`;
83 86
     options.createVADProcessor = createRnnoiseProcessorPromise;
84 87
 
85 88
     // Disable CallStats, if requessted.

Loading…
取消
儲存