feat(mail) Introduce option SOGoVacationAllowZeroDays to allow a sieve vacation days value of 0

This commit is contained in:
y9048a
2024-11-21 11:52:51 +01:00
committed by QHivert
parent 7a7f85d1a7
commit 02dd5c3501
6 changed files with 38 additions and 6 deletions
+12
View File
@@ -277,6 +277,18 @@
return [self stringForKey: @"SOGoVacationFooterTemplateFile"];
}
- (BOOL) vacationAllowZeroDays
{
id o;
o = [self stringForKey: @"SOGoVacationAllowZeroDays"];
if (o)
return [o boolValue];
return NO;
}
- (NSString *) mailingMechanism
{
NSString *mailingMechanism;