mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
Fix for bug #2332
This commit is contained in:
1 parent
98e4c8ca55
commit
6c9b1a494f
5 files changed
+57
-12
No files matched your search
@@ -1127,6 +1127,30 @@ static NSArray *reminderValues = nil;
|
||||
return ignore;
|
||||
}
|
||||
|
||||
//
|
||||
// See http://sogo.nu/bugs/view.php?id=2332 for details
|
||||
//
|
||||
- (void) setAlwaysSend: (BOOL) ignoreLists
|
||||
{
|
||||
[vacationOptions setObject: [NSNumber numberWithBool: ignoreLists]
|
||||
forKey: @"alwaysSend"];
|
||||
}
|
||||
|
||||
- (BOOL) alwaysSend
|
||||
{
|
||||
NSNumber *obj;
|
||||
BOOL ignore;
|
||||
|
||||
obj = [vacationOptions objectForKey: @"alwaysSend"];
|
||||
|
||||
if (obj == nil)
|
||||
ignore = NO; // defaults to NO
|
||||
else
|
||||
ignore = [obj boolValue];
|
||||
|
||||
return ignore;
|
||||
}
|
||||
|
||||
- (BOOL) enableVacationEndDate
|
||||
{
|
||||
return [[vacationOptions objectForKey: @"endDateEnabled"] boolValue];
|
||||
|
||||
Reference in new issue
Block a user