Commit 15084684 authored by JC Brand's avatar JC Brand

Bugfix. Don't reconnect while strophe is still disconnecting

Causes infinit loop of connects and disconnects
parent d53caf11
......@@ -224,11 +224,6 @@
converse.giveFeedback(__('Authentication Failed'), 'error');
} else if (status === Strophe.Status.DISCONNECTING) {
converse.giveFeedback(__('Disconnecting'), 'error');
converse.connection.connect(
converse.connection.jid,
converse.connection.pass,
converse.onConnect
);
} else if (status === Strophe.Status.ATTACHED) {
converse.log('Attached');
converse.onConnected();
......
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