Commit 1766aa75 authored by JC Brand's avatar JC Brand

Bugfix: keepalive and autologin aren't mutually exclusive.

fixes #439
parent 3d7f5eda
......@@ -5788,7 +5788,8 @@
} catch (e) {
converse.log("Could not restore sessions. Error message: "+e.message);
}
} else if (this.auto_login) {
}
if (this.auto_login) {
if (!this.jid) {
throw new Error("initConnection: If you use auto_login, you also need to provide a jid value");
}
......
Changelog
=========
0.9.5 (Unreleased)
------------------
* #439 auto_login and keepalive not working [jcbrand]
0.9.4 (2015-07-04)
------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment