|
@@ -9,6 +9,7 @@
|
|
(function (root, factory) {
|
|
(function (root, factory) {
|
|
define(["jquery.noconflict",
|
|
define(["jquery.noconflict",
|
|
"converse-core",
|
|
"converse-core",
|
|
|
|
+ "lodash.converter",
|
|
"tpl!add_contact_dropdown",
|
|
"tpl!add_contact_dropdown",
|
|
"tpl!add_contact_form",
|
|
"tpl!add_contact_form",
|
|
"tpl!change_status_message",
|
|
"tpl!change_status_message",
|
|
@@ -28,6 +29,7 @@
|
|
}(this, function (
|
|
}(this, function (
|
|
$,
|
|
$,
|
|
converse,
|
|
converse,
|
|
|
|
+ lodashConverter,
|
|
tpl_add_contact_dropdown,
|
|
tpl_add_contact_dropdown,
|
|
tpl_add_contact_form,
|
|
tpl_add_contact_form,
|
|
tpl_change_status_message,
|
|
tpl_change_status_message,
|
|
@@ -46,7 +48,8 @@
|
|
|
|
|
|
const USERS_PANEL_ID = 'users';
|
|
const USERS_PANEL_ID = 'users';
|
|
const CHATBOX_TYPE = 'chatbox';
|
|
const CHATBOX_TYPE = 'chatbox';
|
|
- const { Strophe, Backbone, utils, _, fp, moment } = converse.env;
|
|
|
|
|
|
+ const { Strophe, Backbone, utils, _, moment } = converse.env;
|
|
|
|
+ const fp = lodashConverter(_.runInContext());
|
|
|
|
|
|
|
|
|
|
converse.plugins.add('converse-controlbox', {
|
|
converse.plugins.add('converse-controlbox', {
|