Browse Source

No longer use full href for the invite URL

j8
paweldomas 8 years ago
parent
commit
443c29f505
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      modules/UI/UI.js

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

280
  */
280
  */
281
 UI.initConference = function () {
281
 UI.initConference = function () {
282
     let id = APP.conference.getMyUserId();
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
     // Add myself to the contact list.
288
     // Add myself to the contact list.
286
     ContactList.addContact(id);
289
     ContactList.addContact(id);

Loading…
Cancel
Save