refactor(preferences): conditionally activate the Sieve script

All the user defaults are now editable through the Preferences module,
even if an external Sieve script is enabled. However, the user can
disable the external Sieve script and force the activation of the
"sogo" Sieve script.
This commit is contained in:
Francis Lachapelle committed 2019-11-15 14:37:35 -05:00
1 parent 350677bbce
commit 5b3d84ee24
8 files changed
+137 -94

No files matched your search

+4 -1
View File
@@ -50,10 +50,13 @@
withUsername: (NSString *) theUsername
andPassword: (NSString *) thePassword;
- (BOOL) hasActiveExternalSieveScripts: (NGSieveClient *) client;
- (BOOL) updateFiltersForAccount: (SOGoMailAccount *) theAccount;
- (BOOL) updateFiltersForAccount: (SOGoMailAccount *) theAccount
withUsername: (NSString *) theUsername
andPassword: (NSString *) thePassword;
andPassword: (NSString *) thePassword
forceActivation: (BOOL) forceActivation;
@end