Просмотр исходного кода

No longer use full href for the invite URL

j8
paweldomas 9 лет назад
Родитель
Сommit
443c29f505
1 измененных файлов: 4 добавлений и 1 удалений
  1. 4
    1
      modules/UI/UI.js

+ 4
- 1
modules/UI/UI.js Просмотреть файл

@@ -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);

Загрузка…
Отмена
Сохранить