Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds room name parameter to the bosh connection.

damencho5446c513f513
diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js
index 410599a6f3..763e10027c 100644
--- a/modules/xmpp/xmpp.js
+++ b/modules/xmpp/xmpp.js
@@ -320,8 +320,8 @@ var XMPP = {
},
createConnection: function () {
var bosh = config.bosh || '/http-bind';
-
- return new Strophe.Connection(bosh);
+ // adds the room name used to the bosh connection
+ return new Strophe.Connection(bosh + '?ROOM=' + APP.UI.getRoomNode());
},
getStatusString: function (status) {
return Strophe.getStatusString(status);