Skip to content

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

Passes confID when initializing JitsiConference.

damencho0e9e695251b5
diff --git a/conference.js b/conference.js
index a09bc5bc76..44278da75d 100644
--- a/conference.js
+++ b/conference.js
@@ -1241,6 +1241,7 @@ export default {
const options = config;
const nick = APP.store.getState()['features/base/settings'].displayName;
+ const { locationURL } = APP.store.getState()['features/base/connection'];
if (nick) {
options.displayName = nick;
@@ -1248,6 +1249,7 @@ export default {
options.applicationName = interfaceConfig.APP_NAME;
options.getWiFiStatsMethod = this._getWiFiStatsMethod;
+ options.confID = `${locationURL.host}${locationURL.pathname}`;
return options;
},
diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.js
index 88a29e433c..3503f6abb5 100644
--- a/react/features/base/conference/actions.js
+++ b/react/features/base/conference/actions.js
@@ -393,7 +393,8 @@ export function createConference() {
room.toLowerCase(), {
...state['features/base/config'],
applicationName: getName(),
- getWiFiStatsMethod: getJitsiMeetGlobalNS().getWiFiStats
+ getWiFiStatsMethod: getJitsiMeetGlobalNS().getWiFiStats,
+ confID: `${locationURL.host}${locationURL.pathname}`
});
connection[JITSI_CONNECTION_CONFERENCE_KEY] = conference;