mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 12:58:50 +00:00
fix(preferences(js)): initialize Forward defaults
Make sure 'Forward' is defined prior to visit the Preferences module.
This commit is contained in:
@@ -365,6 +365,11 @@ static SoProduct *preferencesProduct = nil;
|
||||
[defaults setMailLabelsColors: v];
|
||||
}
|
||||
|
||||
if ([domainDefaults forwardEnabled] && ![defaults forwardOptions])
|
||||
{
|
||||
[defaults setForwardOptions: [NSDictionary new]];
|
||||
}
|
||||
|
||||
if ([[defaults source] dirty])
|
||||
[defaults synchronize];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user