Browse Source

Merge pull request #4438 from jitsi/cs-siteid

Passes confID when initializing JitsiConference.
j8
Дамян Минков 6 years ago
parent
commit
eb1fd4fd88
No account linked to committer's email address
4 changed files with 7 additions and 4 deletions
  1. 2
    0
      conference.js
  2. 2
    2
      package-lock.json
  3. 1
    1
      package.json
  4. 2
    1
      react/features/base/conference/actions.js

+ 2
- 0
conference.js View File

@@ -1239,6 +1239,7 @@ export default {
1239 1239
         const options = config;
1240 1240
 
1241 1241
         const nick = APP.store.getState()['features/base/settings'].displayName;
1242
+        const { locationURL } = APP.store.getState()['features/base/connection'];
1242 1243
 
1243 1244
         if (nick) {
1244 1245
             options.displayName = nick;
@@ -1246,6 +1247,7 @@ export default {
1246 1247
 
1247 1248
         options.applicationName = interfaceConfig.APP_NAME;
1248 1249
         options.getWiFiStatsMethod = this._getWiFiStatsMethod;
1250
+        options.confID = `${locationURL.host}${locationURL.pathname}`;
1249 1251
 
1250 1252
         return options;
1251 1253
     },

+ 2
- 2
package-lock.json View File

@@ -9042,8 +9042,8 @@
9042 9042
       }
9043 9043
     },
9044 9044
     "lib-jitsi-meet": {
9045
-      "version": "github:jitsi/lib-jitsi-meet#8a4d1f1b085131aca3cec5513fa7995cf7508fc2",
9046
-      "from": "github:jitsi/lib-jitsi-meet#8a4d1f1b085131aca3cec5513fa7995cf7508fc2",
9045
+      "version": "github:jitsi/lib-jitsi-meet#24bda8e941c346ccfde6bc1e1bb5dcdbd9450bab",
9046
+      "from": "github:jitsi/lib-jitsi-meet#24bda8e941c346ccfde6bc1e1bb5dcdbd9450bab",
9047 9047
       "requires": {
9048 9048
         "@jitsi/sdp-interop": "0.1.14",
9049 9049
         "@jitsi/sdp-simulcast": "0.2.1",

+ 1
- 1
package.json View File

@@ -54,7 +54,7 @@
54 54
     "js-utils": "github:jitsi/js-utils#192b1c996e8c05530eb1f19e82a31069c3021e31",
55 55
     "jsrsasign": "8.0.12",
56 56
     "jwt-decode": "2.2.0",
57
-    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#8a4d1f1b085131aca3cec5513fa7995cf7508fc2",
57
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#24bda8e941c346ccfde6bc1e1bb5dcdbd9450bab",
58 58
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
59 59
     "lodash": "4.17.11",
60 60
     "moment": "2.19.4",

+ 2
- 1
react/features/base/conference/actions.js View File

@@ -393,7 +393,8 @@ export function createConference() {
393 393
                 room.toLowerCase(), {
394 394
                     ...state['features/base/config'],
395 395
                     applicationName: getName(),
396
-                    getWiFiStatsMethod: getJitsiMeetGlobalNS().getWiFiStats
396
+                    getWiFiStatsMethod: getJitsiMeetGlobalNS().getWiFiStats,
397
+                    confID: `${locationURL.host}${locationURL.pathname}`
397 398
                 });
398 399
 
399 400
         connection[JITSI_CONNECTION_CONFERENCE_KEY] = conference;

Loading…
Cancel
Save