浏览代码

fix prebind reference error

Sergey Fedoseev 10 年之前
父节点
当前提交
6e0c173f44
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -4580,7 +4580,7 @@
                         rid += 1;
                         this.session.save({rid: rid}); // The RID needs to be increased with each request.
                         this.connection.attach(jid, sid, rid, this.onConnect);
-                    } else if (prebind) {
+                    } else if (this.prebind) {
                         delete this.connection;
                         this.emit('noResumeableSession');
                     }