mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 02:02:32 +00:00
@@ -22,9 +22,16 @@
|
||||
return ['_' + key, value];
|
||||
return [key, value];
|
||||
}));
|
||||
|
||||
data.SOGoMailLabelsColors = labels;
|
||||
|
||||
_.forEach(data.SOGoSieveFilters, function(filter) {
|
||||
_.forEach(filter.actions, function(action) {
|
||||
if (action.method == 'addflag' &&
|
||||
action.argument.charAt(0) == '$')
|
||||
action.argument = '_' + action.argument;
|
||||
});
|
||||
});
|
||||
|
||||
if (data.SOGoRememberLastModule)
|
||||
data.SOGoLoginModule = "Last";
|
||||
|
||||
@@ -260,9 +267,17 @@
|
||||
}
|
||||
return [key, value];
|
||||
}));
|
||||
|
||||
preferences.defaults.SOGoMailLabelsColors = labels;
|
||||
|
||||
_.forEach(preferences.defaults.SOGoSieveFilters, function(filter) {
|
||||
_.forEach(filter.actions, function(action) {
|
||||
if (action.method == 'addflag' &&
|
||||
action.argument.charAt(0) == '_' &&
|
||||
action.argument.charAt(1) == '$')
|
||||
action.argument = action.argument.substring(1);
|
||||
});
|
||||
});
|
||||
|
||||
if (!preferences.defaults.SOGoMailComposeFontSizeEnabled)
|
||||
preferences.defaults.SOGoMailComposeFontSize = 0;
|
||||
delete preferences.defaults.SOGoMailComposeFontSizeEnabled;
|
||||
|
||||
Reference in New Issue
Block a user