No such method disconnect
This commit is contained in:
parent
b9e5658112
commit
51d0dc8d23
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -64844,7 +64844,7 @@ _converse.initialize = async function (settings, callback) {
|
|||||||
|
|
||||||
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
|
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
|
||||||
|
|
||||||
_converse.disconnect();
|
_converse.api.connection.disconnect();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1294,7 +1294,7 @@ _converse.initialize = async function (settings, callback) {
|
|||||||
"authentication='login' then you also need to provide a password.");
|
"authentication='login' then you also need to provide a password.");
|
||||||
}
|
}
|
||||||
_converse.setDisconnectionCause(Strophe.Status.AUTHFAIL, undefined, true);
|
_converse.setDisconnectionCause(Strophe.Status.AUTHFAIL, undefined, true);
|
||||||
_converse.disconnect();
|
_converse.api.connection.disconnect();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const resource = Strophe.getResourceFromJid(this.jid);
|
const resource = Strophe.getResourceFromJid(this.jid);
|
||||||
|
2
src/headless/dist/converse-headless.js
vendored
2
src/headless/dist/converse-headless.js
vendored
@ -43068,7 +43068,7 @@ _converse.initialize = async function (settings, callback) {
|
|||||||
|
|
||||||
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
|
_converse.setDisconnectionCause(strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].Status.AUTHFAIL, undefined, true);
|
||||||
|
|
||||||
_converse.disconnect();
|
_converse.api.connection.disconnect();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user