Commit 65852f4e authored by JC Brand's avatar JC Brand

Remove what appear to be unnecessary calls

parent 60f86378
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -412,7 +412,6 @@
__('The connection has dropped, attempting to reconnect.')
);
converse.connection.reconnecting = true;
converse.connection.disconnect('re-connecting');
converse._tearDown();
converse.logIn(null, true);
}, 3000, {'leading': true});
......@@ -498,7 +497,6 @@
converse.giveFeedback(__('Authenticating'));
} else if (status === Strophe.Status.AUTHFAIL) {
converse.giveFeedback(__('Authentication Failed'), 'error');
converse.connection.disconnect();
converse.setDisconnectionCause(status, condition, true);
} else if (status === Strophe.Status.CONNFAIL) {
converse.giveFeedback(
......
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