|
@@ -113,10 +113,8 @@ converse.plugins.add('converse-muc-views', {
|
|
_converse.api.settings.update({
|
|
_converse.api.settings.update({
|
|
'auto_list_rooms': false,
|
|
'auto_list_rooms': false,
|
|
'cache_muc_messages': true,
|
|
'cache_muc_messages': true,
|
|
- 'locked_muc_domain': false,
|
|
|
|
'locked_muc_nickname': false,
|
|
'locked_muc_nickname': false,
|
|
'muc_disable_slash_commands': false,
|
|
'muc_disable_slash_commands': false,
|
|
- 'muc_domain': undefined,
|
|
|
|
'muc_show_join_leave': true,
|
|
'muc_show_join_leave': true,
|
|
'muc_show_join_leave_status': true,
|
|
'muc_show_join_leave_status': true,
|
|
'roomconfig_whitelist': [],
|
|
'roomconfig_whitelist': [],
|
|
@@ -125,11 +123,6 @@ converse.plugins.add('converse-muc-views', {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
- if (_converse.locked_muc_domain && !_.isString(_converse.muc_domain)) {
|
|
|
|
- throw new Error("Config Error: it makes no sense to set locked_muc_domain "+
|
|
|
|
- "to true when muc_domain is not set");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
function ___ (str) {
|
|
function ___ (str) {
|
|
/* This is part of a hack to get gettext to scan strings to be
|
|
/* This is part of a hack to get gettext to scan strings to be
|
|
* translated. Strings we cannot send to the function above because
|
|
* translated. Strings we cannot send to the function above because
|