Make sure converse-muc-views is loaded first (if available)

This commit is contained in:
JC Brand 2018-05-24 09:09:09 +02:00
parent 3f0920a8c4
commit 04e95a17c5

View File

@ -37,7 +37,7 @@
// an error will be raised if the plugin is not found.
//
// NB: These plugins need to have already been loaded via require.js.
dependencies: ['converse-chatboxes', 'converse-muc', 'converse-controlbox', 'converse-rosterview'],
dependencies: ['converse-chatboxes', 'converse-muc', 'converse-muc-views', 'converse-controlbox', 'converse-rosterview'],
enabled (_converse) {
return _.includes(['mobile', 'fullscreen', 'embedded'], _converse.view_mode);