|
@@ -217,6 +217,7 @@
|
|
this.expose_rid_and_sid = false;
|
|
this.expose_rid_and_sid = false;
|
|
this.forward_messages = false;
|
|
this.forward_messages = false;
|
|
this.hide_muc_server = false;
|
|
this.hide_muc_server = false;
|
|
|
|
+ this.hide_offline_users = false;
|
|
this.i18n = locales.en;
|
|
this.i18n = locales.en;
|
|
this.keepalive = false;
|
|
this.keepalive = false;
|
|
this.message_carbons = false;
|
|
this.message_carbons = false;
|
|
@@ -226,7 +227,6 @@
|
|
this.roster_groups = false;
|
|
this.roster_groups = false;
|
|
this.show_controlbox_by_default = false;
|
|
this.show_controlbox_by_default = false;
|
|
this.show_only_online_users = false;
|
|
this.show_only_online_users = false;
|
|
- this.hide_offline_users = false;
|
|
|
|
this.show_toolbar = true;
|
|
this.show_toolbar = true;
|
|
this.storage = 'session';
|
|
this.storage = 'session';
|
|
this.use_otr_by_default = false;
|
|
this.use_otr_by_default = false;
|
|
@@ -258,14 +258,15 @@
|
|
'connection',
|
|
'connection',
|
|
'debug',
|
|
'debug',
|
|
'default_box_height',
|
|
'default_box_height',
|
|
- 'keepalive',
|
|
|
|
- 'message_carbons',
|
|
|
|
'expose_rid_and_sid',
|
|
'expose_rid_and_sid',
|
|
'forward_messages',
|
|
'forward_messages',
|
|
'fullname',
|
|
'fullname',
|
|
'hide_muc_server',
|
|
'hide_muc_server',
|
|
|
|
+ 'hide_offline_users',
|
|
'i18n',
|
|
'i18n',
|
|
'jid',
|
|
'jid',
|
|
|
|
+ 'keepalive',
|
|
|
|
+ 'message_carbons',
|
|
'no_trimming',
|
|
'no_trimming',
|
|
'play_sounds',
|
|
'play_sounds',
|
|
'prebind',
|
|
'prebind',
|
|
@@ -273,7 +274,6 @@
|
|
'roster_groups',
|
|
'roster_groups',
|
|
'show_controlbox_by_default',
|
|
'show_controlbox_by_default',
|
|
'show_only_online_users',
|
|
'show_only_online_users',
|
|
- 'hide_offline_users',
|
|
|
|
'show_toolbar',
|
|
'show_toolbar',
|
|
'sid',
|
|
'sid',
|
|
'storage',
|
|
'storage',
|
|
@@ -2482,7 +2482,7 @@
|
|
var lines = $input.val().split('\n');
|
|
var lines = $input.val().split('\n');
|
|
for( var vk=0; vk<lines.length; vk++) {
|
|
for( var vk=0; vk<lines.length; vk++) {
|
|
var val = $.trim(lines[vk]);
|
|
var val = $.trim(lines[vk]);
|
|
- if (val == '')
|
|
|
|
|
|
+ if (val === '')
|
|
continue;
|
|
continue;
|
|
value.push(val);
|
|
value.push(val);
|
|
}
|
|
}
|