Skip to content

Commit ef1f16c

Browse files
committed
Fixes #1767: Remove JID so that credentials_url is called...
when the user logs out and then in again
1 parent 72e6fb5 commit ef1f16c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- #1640: Add the ability to resize the occupants sidebar in MUCs
2929
- #1666: Allow scrolling of the OMEMO fingerprints list
3030
- #1691: Fix `collection.chatbox is undefined` errors
31+
- #1767: `credentials_url` is not called when logging out and then in again
3132
- #1772: `_converse.api.contact.add(jid, nick)` fails, says not a function
3233
- #1792: Fix: modals don't have scrollbars
3334
- #1796: Don't show "back" arrow navigation (on mobile) in the chat header when in `singleton` mode

src/headless/converse-core.js

+1
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,7 @@ _converse.api = {
14111411
const complete = () => {
14121412
// Recreate all the promises
14131413
Object.keys(_converse.promises).forEach(replacePromise);
1414+
delete _converse.jid
14141415
/**
14151416
* Triggered once the user has logged out.
14161417
* @event _converse#logout

0 commit comments

Comments
 (0)