2
0
Эх сурвалжийг харах

Don't debounce `reconnect` on leading edge

Otherwise we can get into a situation where Converse stops trying to
reconnect.
JC Brand 6 жил өмнө
parent
commit
886ff1bd19

+ 1 - 1
src/headless/converse-core.js

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