|
@@ -52,11 +52,11 @@ function checkForAttachParametersAndConnect(id, password, connection) {
|
52
|
52
|
*/
|
53
|
53
|
function connect(id, password, roomName) {
|
54
|
54
|
|
55
|
|
- let connectionConfig = config;
|
|
55
|
+ let connectionConfig = Object.assign({}, config);
|
56
|
56
|
|
57
|
57
|
connectionConfig.bosh += '?room=' + roomName;
|
58
|
58
|
let connection
|
59
|
|
- = new JitsiMeetJS.JitsiConnection(null, config.token, config);
|
|
59
|
+ = new JitsiMeetJS.JitsiConnection(null, config.token, connectionConfig);
|
60
|
60
|
|
61
|
61
|
return new Promise(function (resolve, reject) {
|
62
|
62
|
connection.addEventListener(
|