Bugfix. Return after attaching with prebind data.

This commit is contained in:
JC Brand 2014-09-24 10:55:59 +02:00
parent d8bf1961a7
commit b803267555
2 changed files with 6 additions and 0 deletions

View File

@ -4563,6 +4563,7 @@
throw('If you set prebind=true, you MUST supply JID, RID and SID values');
}
this.connection.attach(this.jid, this.sid, this.rid, this.onConnect);
return;
}
if (this.keepalive) {
rid = this.session.get('rid');

View File

@ -1,6 +1,11 @@
Changelog
=========
0.8.4 (Unreleased)
------------------
* Bugfix. Error when trying to use prebind and keepalive together. [jcbrand]
0.8.3 (2014-09-22)
------------------