소스 검색

Bugfix. Need to return `this`.

JC Brand 8 년 전
부모
커밋
37df4ad18c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/converse-muc.js

+ 1 - 1
src/converse-muc.js

@@ -1060,7 +1060,7 @@
                     if (this.model.get('connection_status') ===  Strophe.Status.CONNECTED) {
                         // We have restored a chat room from session storage,
                         // so we don't send out a presence stanza again.
-                        return;
+                        return this;
                     }
                     var stanza = $pres({
                         'from': converse.connection.jid,