when auto_reconnect = false
@@ -1,5 +1,10 @@
# Changelog
+## 1.0.2 (Unreleased)
+
+- Bugfix. Login form doesn't render after logging out, when `auto_reconnect = false`
+ [jcbrand]
## 1.0.2 (2016-05-24)
- Bugfix. Bind `sendPresence` to the right context. Bug that slipped in during
@@ -57,6 +57,7 @@
view.$('#controlbox-tabs').empty();
view.renderLoginPanel();
}
+ return result;
},
_tearDown: function () {
@@ -442,7 +442,7 @@
}, 1000);
this.onDisconnected = function (condition) {
- if (!converse.auto_reconnect) { return; }
+ if (!converse.auto_reconnect) { return 'disconnected'; }
if (converse.disconnection_cause === Strophe.Status.CONNFAIL) {
converse.reconnect(condition);
return 'reconnecting';