Commit 9c4f8aef authored by JC Brand's avatar JC Brand

Bugfix. Call _converse.reconnect regardless

it is debounced and otherwise we might enter a state where reconnection
no longer happens.
parent d868b9a9
......@@ -49899,9 +49899,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
if (!_converse.connection.authenticated) {
this.showHelpMessages(['Sorry, the connection has been lost, and your message could not be sent'], 'error');
if (!_converse.connection.reconnecting) {
_converse.reconnect();
}
_converse.reconnect();
return;
}
......@@ -928,9 +928,7 @@ converse.plugins.add('converse-chatview', {
['Sorry, the connection has been lost, and your message could not be sent'],
'error'
);
if (!_converse.connection.reconnecting) {
_converse.reconnect();
}
_converse.reconnect();
return;
}
let spoiler_hint, hint_el = {};
......
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