• JC Brand's avatar
    Add new plugin `converse-carbons` · 18730036
    JC Brand authored
    Fixes a bug whereby carbons weren't being enabled because the listener
    for `afterResourceBinding` was registered before `converse.initialize`
    was called,(which means it was removed as soon as `cleanup` was called
    inside `converse.initialize`).
    
    This shows that event `api.listen` API calls can/should only be called
    inside the `initialize` method of a plugin (or at least once plugins
    have been initialized).
    18730036
converse-carbons.js 1.42 KB