Jelajahi Sumber

Merge pull request #247 from sir-sigurd/fix-prebind-reference-error

fix prebind reference error
JC Brand 10 tahun lalu
induk
melakukan
ab8ec3c43c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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');
                     }