Sfoglia il codice sorgente

No longer use full href for the invite URL

j8
paweldomas 8 anni fa
parent
commit
443c29f505
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4
    1
      modules/UI/UI.js

+ 4
- 1
modules/UI/UI.js Vedi File

@@ -280,7 +280,10 @@ UI.setLocalRaisedHandStatus = (raisedHandStatus) => {
280 280
  */
281 281
 UI.initConference = function () {
282 282
     let id = APP.conference.getMyUserId();
283
-    Toolbar.updateRoomUrl(window.location.href);
283
+    Toolbar.updateRoomUrl(
284
+        // Do not include query parameters
285
+        // "https://example.com" + "/SomeConference1245"
286
+        window.location.origin + window.location.pathname);
284 287
 
285 288
     // Add myself to the contact list.
286 289
     ContactList.addContact(id);

Loading…
Annulla
Salva