Explorar o código

Bugfix. Return after disconnection

JC Brand %!s(int64=8) %!d(string=hai) anos
pai
achega
1b264461d7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/converse-core.js

+ 1 - 0
src/converse-core.js

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