• JC Brand's avatar
    Fixes #1735: Chatboxes stay empty after logging out and in again · da319604
    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
converse-core.js 67.7 KB