Bugfix. Login form doesn't render after logging out
when auto_reconnect = false
This commit is contained in:
parent
1545018edf
commit
cb288341fb
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user