Commit 51d0dc8d authored by JC Brand's avatar JC Brand

No such method `disconnect`

parent b9e56581
......@@ -64844,7 +64844,7 @@ _converse.initialize = async function (settings, callback) {
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
_converse.disconnect();
_converse.api.connection.disconnect();
return;
}
......@@ -1294,7 +1294,7 @@ _converse.initialize = async function (settings, callback) {
"authentication='login' then you also need to provide a password.");
}
_converse.setDisconnectionCause(Strophe.Status.AUTHFAIL, undefined, true);
_converse.disconnect();
_converse.api.connection.disconnect();
return;
}
const resource = Strophe.getResourceFromJid(this.jid);
......
......@@ -43068,7 +43068,7 @@ _converse.initialize = async function (settings, callback) {
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
_converse.disconnect();
_converse.api.connection.disconnect();
return;
}
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