瀏覽代碼

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(

Loading…
取消
儲存