Commit f1820e5f authored by JC Brand's avatar JC Brand

Set dependencies for chatview and muc

parent 8bdaa410
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment