Skip to content

Commit

Permalink
fix(preferences(js)): don't check Sieve script if Mail module disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Feb 7, 2022
1 parent 0f77c1c commit a1d74a8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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();
};

Expand Down

0 comments on commit a1d74a8

Please sign in to comment.