![JC Brand](/assets/img/avatar_default.png)
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).
28 lines
1.3 KiB
JavaScript
28 lines
1.3 KiB
JavaScript
/* START: Removable components
|
|
* --------------------
|
|
* Any of the following components may be removed if they're not needed.
|
|
*/
|
|
import "./converse-adhoc"; // XEP-0050 Ad Hoc Commands
|
|
import "./converse-bookmarks"; // XEP-0199 XMPP Ping
|
|
import "./converse-bosh"; // XEP-0206 BOSH
|
|
import "./converse-caps"; // XEP-0115 Entity Capabilities
|
|
import "./converse-carbons"; // XEP-0280 Message Carbons
|
|
import "./converse-chat"; // RFC-6121 Instant messaging
|
|
import "./converse-chatboxes";
|
|
import "./converse-disco"; // XEP-0030 Service discovery
|
|
import "./converse-headlines"; // Support for headline messages
|
|
import "./converse-mam"; // XEP-0313 Message Archive Management
|
|
import "./converse-muc"; // XEP-0045 Multi-user chat
|
|
import "./converse-ping"; // XEP-0199 XMPP Ping
|
|
import "./converse-pubsub"; // XEP-0060 Pubsub
|
|
import "./converse-roster"; // RFC-6121 Contacts Roster
|
|
import "./converse-rsm"; // XEP-0059 Result Set management
|
|
import "./converse-smacks"; // XEP-0198 Stream Management
|
|
import "./converse-status"; // XEP-0199 XMPP Ping
|
|
import "./converse-vcard"; // XEP-0054 VCard-temp
|
|
/* END: Removable components */
|
|
|
|
import { converse } from "./converse-core";
|
|
|
|
export default converse;
|