Don't debounce reconnect on leading edge

Otherwise we can get into a situation where Converse stops trying to
reconnect.
This commit is contained in:
JC Brand 2019-05-20 15:16:36 +02:00
parent a95bb5b26a
commit 886ff1bd19

View File

@ -748,7 +748,7 @@ _converse.initialize = async function (settings, callback) {
_converse.connection.reconnecting = true;
_converse.tearDown();
_converse.logIn(null, true);
}, 2000, {'leading': true});
}, 2000);
/**