diff --git a/plugins/plugin.cm.js b/plugins/plugin.cm.js index e21d321c..fc267de9 100644 --- a/plugins/plugin.cm.js +++ b/plugins/plugin.cm.js @@ -158,6 +158,9 @@ Strophe.addConnectionPlugin('connectionmanager', { if(this.config.autoResend){ this.resendAll(); } + + // re-enable auto reconnect + this.config.autoReconnect = true; } else if(status == Strophe.Status.DISCONNECTING){ if(condition == "logout"){