Merge pull request #1611 from thecodingmachine/master

Master
This commit is contained in:
grégoire parant 2021-11-30 18:10:36 +01:00 committed by GitHub
commit 9eb4206fe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,13 +132,14 @@ class ConnectionManager {
const roomUrl = data.roomUrl;
const query = urlParams.toString();
this._currentRoom = await Room.createRoom(
new URL(
window.location.protocol +
"//" +
window.location.host +
roomUrl +
urlParams.toString() + //use urlParams because the token param must be deleted
(query ? "?" + query : "") + //use urlParams because the token param must be deleted
window.location.hash
)
);