Fixes #1735: Chatboxes stay empty after logging out and in again
The problem was that the `emojisInitialized` promise was re-created upon logout and then no longer resolved upon subsequent login. The `_converse.api.promises.add` method now takes another parameter `replace` which determine whether it should be replaced upon logout or not. The `emojisInitialized` promise will now not get replaced.
Showing
Please register or sign in to comment