Bugfix. Return after disconnection

This commit is contained in:
JC Brand 2016-10-27 10:58:51 +00:00
parent bc5cd95a98
commit 1b264461d7

View File

@ -1825,6 +1825,7 @@
converse.disconnection_cause = Strophe.Status.AUTHFAIL; converse.disconnection_cause = Strophe.Status.AUTHFAIL;
converse.onDisconnected(); converse.onDisconnected();
converse.giveFeedback(''); // Wipe the feedback converse.giveFeedback(''); // Wipe the feedback
return;
} }
var resource = Strophe.getResourceFromJid(this.jid); var resource = Strophe.getResourceFromJid(this.jid);
if (!resource) { if (!resource) {