xmpp.chapril.org-conversejs/src/plugins/profile/index.js
Shaun Wu 9ea8653ef7 Upgrade to Webpack 3
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
2021-04-30 13:50:50 +02:00

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
});
}
});