2021-01-22 15:45:44 +01:00
|
|
|
/**
|
|
|
|
* @copyright The Converse.js contributors
|
|
|
|
* @license Mozilla Public License (MPLv2)
|
|
|
|
*/
|
2021-09-17 12:17:43 +02:00
|
|
|
import '../modal/index.js';
|
2021-04-14 22:56:59 +02:00
|
|
|
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';
|
2021-04-14 22:56:59 +02:00
|
|
|
import { api, converse } from '@converse/headless/core';
|
2021-01-22 15:45:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|