Makes the room parameter lower case.

This commit is contained in:
damencho 2015-11-16 16:50:15 -06:00
parent f9d1fd13df
commit 0ae702922c
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ var XMPP = {
createConnection: function () {
var bosh = config.bosh || '/http-bind';
// adds the room name used to the bosh connection
return new Strophe.Connection(bosh + '?ROOM=' + APP.UI.getRoomNode());
return new Strophe.Connection(bosh + '?room=' + APP.UI.getRoomNode());
},
getStatusString: function (status) {
return Strophe.getStatusString(status);