mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
fix(preferences(js)): don't check Sieve script if Mail module disabled
This commit is contained in:
1 parent
0f77c1cbed
commit
a1d74a8910
1 file changed
+2
-1
@@ -34,7 +34,8 @@
|
||||
if (Preferences.defaults.SOGoAlternateAvatar)
|
||||
User.$alternateAvatar = Preferences.defaults.SOGoAlternateAvatar;
|
||||
|
||||
this.preferences.hasActiveExternalSieveScripts();
|
||||
if (sgSettings.activeUser('path').mail)
|
||||
this.preferences.hasActiveExternalSieveScripts();
|
||||
this.updateVacationDates();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user