xmpp.chapril.org-conversejs/src/plugins/profile/index.js

25 lines
654 B
JavaScript
Raw Normal View History

/**
* @copyright The Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
2021-09-17 12:17:43 +02:00
import '../modal/index.js';
import './statusview.js';
import '@converse/headless/plugins/status';
import '@converse/headless/plugins/vcard';
2021-09-17 12:17:43 +02:00
import './modals/chat-status.js';
import './modals/profile.js';
import { api, converse } from '@converse/headless/core';
converse.plugins.add('converse-profile', {
dependencies: ["converse-status", "converse-modal", "converse-vcard", "converse-chatboxviews"],
initialize () {
api.settings.extend({
'allow_adhoc_commands': true,
'show_client_info': true
});
}
});