Adds room name parameter to the bosh connection.
This commit is contained in:
parent
b1f617502e
commit
5446c513f5
|
@ -320,8 +320,8 @@ var XMPP = {
|
||||||
},
|
},
|
||||||
createConnection: function () {
|
createConnection: function () {
|
||||||
var bosh = config.bosh || '/http-bind';
|
var bosh = config.bosh || '/http-bind';
|
||||||
|
// adds the room name used to the bosh connection
|
||||||
return new Strophe.Connection(bosh);
|
return new Strophe.Connection(bosh + '?ROOM=' + APP.UI.getRoomNode());
|
||||||
},
|
},
|
||||||
getStatusString: function (status) {
|
getStatusString: function (status) {
|
||||||
return Strophe.getStatusString(status);
|
return Strophe.getStatusString(status);
|
||||||
|
|
Loading…
Reference in New Issue