mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-05 08:49:21 +00:00
feat(preferences): allow hiding of vacation the vacation period
This is controllable using the new SOGoVacationPeriodEnabled domain defaults variable.
This commit is contained in:
1 parent
32968092e2
commit
c2e7f6a866
7 files changed
+81
-280
No files matched your search
@@ -220,6 +220,18 @@
|
||||
return [self boolForKey: @"SOGoVacationEnabled"];
|
||||
}
|
||||
|
||||
- (BOOL) vacationPeriodEnabled
|
||||
{
|
||||
id o;
|
||||
|
||||
o = [self stringForKey: @"SOGoVacationPeriodEnabled"];
|
||||
|
||||
if (o)
|
||||
return [o boolValue];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (NSString *) vacationDefaultSubject
|
||||
{
|
||||
return [self stringForKey: @"SOGoVacationDefaultSubject"];
|
||||
|
||||
Reference in new issue
Block a user