Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
51d0dc8d
Commit
51d0dc8d
authored
Apr 27, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No such method `disconnect`
parent
b9e56581
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dist/converse.js
dist/converse.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+1
-1
src/headless/dist/converse-headless.js
src/headless/dist/converse-headless.js
+1
-1
No files found.
dist/converse.js
View file @
51d0dc8d
...
@@ -64844,7 +64844,7 @@ _converse.initialize = async function (settings, callback) {
...
@@ -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;
}
}
src/headless/converse-core.js
View file @
51d0dc8d
...
@@ -1294,7 +1294,7 @@ _converse.initialize = async function (settings, callback) {
...
@@ -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
);
...
...
src/headless/dist/converse-headless.js
View file @
51d0dc8d
...
@@ -43068,7 +43068,7 @@ _converse.initialize = async function (settings, callback) {
...
@@ -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;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment