Skip to content

Commit

Permalink
Fixes #1767: Remove JID so that credentials_url is called...
Browse files Browse the repository at this point in the history
when the user logs out and then in again
  • Loading branch information
jcbrand committed Jan 9, 2020
1 parent 72e6fb5 commit ef1f16c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -28,6 +28,7 @@
- #1640: Add the ability to resize the occupants sidebar in MUCs
- #1666: Allow scrolling of the OMEMO fingerprints list
- #1691: Fix `collection.chatbox is undefined` errors
- #1767: `credentials_url` is not called when logging out and then in again
- #1772: `_converse.api.contact.add(jid, nick)` fails, says not a function
- #1792: Fix: modals don't have scrollbars
- #1796: Don't show "back" arrow navigation (on mobile) in the chat header when in `singleton` mode
Expand Down
1 change: 1 addition & 0 deletions src/headless/converse-core.js
Expand Up @@ -1411,6 +1411,7 @@ _converse.api = {
const complete = () => {
// Recreate all the promises
Object.keys(_converse.promises).forEach(replacePromise);
delete _converse.jid
/**
* Triggered once the user has logged out.
* @event _converse#logout
Expand Down

0 comments on commit ef1f16c

Please sign in to comment.