Commit ef1f16c1 authored by JC Brand's avatar JC Brand

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

when the user logs out and then in again
parent 72e6fb5e
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
- #1640: Add the ability to resize the occupants sidebar in MUCs - #1640: Add the ability to resize the occupants sidebar in MUCs
- #1666: Allow scrolling of the OMEMO fingerprints list - #1666: Allow scrolling of the OMEMO fingerprints list
- #1691: Fix `collection.chatbox is undefined` errors - #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 - #1772: `_converse.api.contact.add(jid, nick)` fails, says not a function
- #1792: Fix: modals don't have scrollbars - #1792: Fix: modals don't have scrollbars
- #1796: Don't show "back" arrow navigation (on mobile) in the chat header when in `singleton` mode - #1796: Don't show "back" arrow navigation (on mobile) in the chat header when in `singleton` mode
......
...@@ -1411,6 +1411,7 @@ _converse.api = { ...@@ -1411,6 +1411,7 @@ _converse.api = {
const complete = () => { const complete = () => {
// Recreate all the promises // Recreate all the promises
Object.keys(_converse.promises).forEach(replacePromise); Object.keys(_converse.promises).forEach(replacePromise);
delete _converse.jid
/** /**
* Triggered once the user has logged out. * Triggered once the user has logged out.
* @event _converse#logout * @event _converse#logout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment