Split MUC views into separate file/plugin
This commit is contained in:
parent
de66a7ddfa
commit
0013ee5506
@ -76,6 +76,7 @@ require.config({
|
||||
"converse-minimize": "src/converse-minimize",
|
||||
"converse-muc": "src/converse-muc",
|
||||
"converse-muc-embedded": "src/converse-muc-embedded",
|
||||
"converse-muc-views": "src/converse-muc-views",
|
||||
"converse-notification": "src/converse-notification",
|
||||
"converse-otr": "src/converse-otr",
|
||||
"converse-ping": "src/converse-ping",
|
||||
|
@ -42,7 +42,7 @@
|
||||
*
|
||||
* NB: These plugins need to have already been loaded via require.js.
|
||||
*/
|
||||
dependencies: ["converse-chatboxes", "converse-muc"],
|
||||
dependencies: ["converse-chatboxes", "converse-muc", "converse-muc-views"],
|
||||
|
||||
overrides: {
|
||||
// Overrides mentioned here will be picked up by converse.js's
|
||||
|
@ -80,6 +80,7 @@
|
||||
'converse-minimize',
|
||||
'converse-muc',
|
||||
'converse-muc-embedded',
|
||||
'converse-muc-views',
|
||||
'converse-notification',
|
||||
'converse-otr',
|
||||
'converse-ping',
|
||||
|
@ -119,7 +119,7 @@
|
||||
|
||||
converse.plugins.add('converse-mam', {
|
||||
|
||||
dependencies: ['converse-chatview', 'converse-muc'],
|
||||
dependencies: ['converse-chatview', 'converse-muc', 'converse-muc-views'],
|
||||
|
||||
overrides: {
|
||||
// Overrides mentioned here will be picked up by converse.js's
|
||||
|
@ -39,7 +39,7 @@
|
||||
*
|
||||
* NB: These plugins need to have already been loaded via require.js.
|
||||
*/
|
||||
dependencies: ["converse-chatview", "converse-controlbox", "converse-muc", "converse-headline"],
|
||||
dependencies: ["converse-chatview", "converse-controlbox", "converse-muc", "converse-muc-views", "converse-headline"],
|
||||
|
||||
enabled (_converse) {
|
||||
return _converse.view_mode == 'overlayed';
|
||||
|
2661
src/converse-muc-views.js
Normal file
2661
src/converse-muc-views.js
Normal file
File diff suppressed because it is too large
Load Diff
2683
src/converse-muc.js
2683
src/converse-muc.js
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@ if (typeof define !== 'undefined') {
|
||||
"converse-mam", // XEP-0313 Message Archive Management
|
||||
"converse-muc", // XEP-0045 Multi-user chat
|
||||
"converse-muc-embedded",
|
||||
"converse-muc-views",
|
||||
"converse-vcard", // XEP-0054 VCard-temp
|
||||
"converse-otr", // Off-the-record encryption for one-on-one messages
|
||||
"converse-register", // XEP-0077 In-band registration
|
||||
|
Loading…
Reference in New Issue
Block a user