feat(core): Allow the detection of external Sieve scripts

This allows SOGo users to keep existing Sieve scripts instead of
overwriting the SOGo ones by default.
This commit is contained in:
Ludovic Marcotte committed 2019-11-07 15:18:28 -05:00
1 parent 70984def1f
commit ac91a303c9
5 files changed
+134 -60

No files matched your search

@@ -18,6 +18,7 @@
this.timeZonesSearchText = '';
this.sieveVariablesCapability = ($window.sieveCapabilities.indexOf('variables') >= 0);
this.mailLabelKeyRE = new RegExp(/^(?!^_\$)[^(){} %*\"\\\\]*?$/);
this.hasActiveExternalSieveScripts = $window.hasActiveExternalSieveScripts;
// Set alternate avatar in User service
if (Preferences.defaults.SOGoAlternateAvatar)