![Shaun Wu](/assets/img/avatar_default.png)
Had to make various other changes due to incompatibilities. - Use the new `lit` package instead of `lit-html` or `lit-element` - Drop `haunted` since it breaks the rules by specifying `type: module` but then doesn't import with file extensions - Use Sass Dart instead of node-sass (fixes #2445) - Upgrade Karma
25 lines
644 B
JavaScript
25 lines
644 B
JavaScript
/**
|
|
* @copyright The Converse.js contributors
|
|
* @license Mozilla Public License (MPLv2)
|
|
*/
|
|
import '../modal.js';
|
|
import './statusview.js';
|
|
import '@converse/headless/plugins/status';
|
|
import '@converse/headless/plugins/vcard';
|
|
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
|
|
});
|
|
}
|
|
});
|