소스 검색

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
         this.token = token;
40
         this.token = token;
41
         this._initStrophePlugins(this);
41
         this._initStrophePlugins(this);
42
 
42
 
43
-        this.connection = createConnection(options.bosh, token);
43
+        this.connection = createConnection(token, options.bosh);
44
 
44
 
45
         if(!this.connection.disco || !this.connection.caps)
45
         if(!this.connection.disco || !this.connection.caps)
46
             throw new Error(
46
             throw new Error(

Loading…
취소
저장