Set dependencies for chatview and muc

This commit is contained in:
JC Brand 2018-01-03 16:08:30 +00:00
parent 8bdaa410db
commit f1820e5fcd
2 changed files with 14 additions and 1 deletions

View File

@ -48,6 +48,19 @@
};
converse.plugins.add('converse-chatview', {
/* Optional dependencies are other plugins which might be
* overridden or relied upon, and therefore need to be loaded before
* this plugin. They are called "optional" because they might not be
* available, in which case any overrides applicable to them will be
* ignored.
*
* It's possible however to make optional dependencies non-optional.
* If the setting "strict_plugin_dependencies" is set to true,
* an error will be raised if the plugin is not found.
*
* NB: These plugins need to have already been loaded via require.js.
*/
optional_dependencies: ["converse-chatboxes"],
overrides: {
// Overrides mentioned here will be picked up by converse.js's

View File

@ -129,7 +129,7 @@
*
* NB: These plugins need to have already been loaded via require.js.
*/
optional_dependencies: ["converse-controlbox"],
optional_dependencies: ["converse-controlbox", "converse-chatview"],
overrides: {
// Overrides mentioned here will be picked up by converse.js's