Commit 53df5d6b authored by JC Brand's avatar JC Brand

Fix whitelisting and dependencies on the headline plugins

parent 3ffb56ba
......@@ -36,7 +36,7 @@ converse.plugins.add('converse-dragresize', {
*
* NB: These plugins need to have already been loaded via require.js.
*/
dependencies: ["converse-chatview", "converse-headline", "converse-muc-views"],
dependencies: ["converse-chatview", "converse-headlines-view", "converse-muc-views"],
enabled (_converse) {
return _converse.view_mode == 'overlayed';
......
......@@ -4,7 +4,7 @@
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Licensed under the Mozilla Public License (MPLv2)
/**
* @module converse-headline
* @module converse-headlines-view
*/
import "converse-chatview";
import converse from "@converse/headless/converse-core";
......
......@@ -32,7 +32,13 @@ converse.plugins.add('converse-minimize', {
*
* NB: These plugins need to have already been loaded via require.js.
*/
dependencies: ["converse-chatview", "converse-controlbox", "converse-muc-views", "converse-headline", "converse-dragresize"],
dependencies: [
"converse-chatview",
"converse-controlbox",
"converse-muc-views",
"converse-headlines-view",
"converse-dragresize"
],
enabled (_converse) {
return _converse.view_mode === 'overlayed';
......
......@@ -45,7 +45,6 @@ const WHITELISTED_PLUGINS = [
'converse-dragresize',
'converse-emoji-views',
'converse-fullscreen',
'converse-headline',
'converse-mam-views',
'converse-message-view',
'converse-minimize',
......
......@@ -4,7 +4,7 @@
// Copyright (c) 2019, Jan-Carel Brand <jc@opkode.com>
// Licensed under the Mozilla Public License (MPLv2)
/**
* @module converse-headline
* @module converse-headlines
*/
import "converse-chatview";
import converse from "@converse/headless/converse-core";
......
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