Fixes #1767: Remove JID so that credentials_url is called...

when the user logs out and then in again
This commit is contained in:
JC Brand 2020-01-09 11:05:37 +01:00
parent 72e6fb5ef0
commit ef1f16c186
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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