-
JC Brand authored
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.
da319604