-
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