浏览代码

Fix createConnection broken in 9781a0d

The places of the two arguments of the function createConnection were
switched in the function definition but the call to the function
remained unchanged.
dev1
Lyubomir Marinov 9 年前
父节点
当前提交
cda6bea41d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/xmpp.js

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

@@ -40,7 +40,7 @@ export default class XMPP {
40 40
         this.token = token;
41 41
         this._initStrophePlugins(this);
42 42
 
43
-        this.connection = createConnection(options.bosh, token);
43
+        this.connection = createConnection(token, options.bosh);
44 44
 
45 45
         if(!this.connection.disco || !this.connection.caps)
46 46
             throw new Error(

正在加载...
取消
保存