瀏覽代碼

Makes the room parameter lower case.

master
damencho 9 年之前
父節點
當前提交
0ae702922c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js 查看文件

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

Loading…
取消
儲存