mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
(feat) moved FolderSynchronize code to GCS
Conflicts: SoObjects/Appointments/SOGoAppointmentFolder.h
This commit is contained in:
1 parent
1fab2028e2
commit
39601a9cf9
5 files changed
+52
-3
No files matched your search
@@ -99,7 +99,7 @@ _intValueFromHex (NSString *hexString)
|
||||
NSNumber *isActive, *fActiveTasks;
|
||||
SOGoAppointmentFolders *co;
|
||||
SOGoAppointmentFolder *folder;
|
||||
BOOL reloadOnLogin;
|
||||
BOOL reloadOnLogin, synchronize;
|
||||
|
||||
if (!calendars)
|
||||
{
|
||||
@@ -133,6 +133,16 @@ _intValueFromHex (NSString *hexString)
|
||||
[calendar setObject: [NSNumber numberWithBool: [folder showCalendarAlarms]] forKey: @"showCalendarAlarms"];
|
||||
[calendar setObject: [NSNumber numberWithBool: [folder showCalendarTasks]] forKey: @"showCalendarTasks"];
|
||||
|
||||
if ([folder isKindOfClass: [SOGoWebAppointmentFolder class]])
|
||||
synchronize = NO;
|
||||
else
|
||||
synchronize = [folder synchronize];
|
||||
|
||||
if ([[folder nameInContainer] isEqualToString: @"personal"])
|
||||
synchronize = YES;
|
||||
|
||||
[calendar setObject: [NSNumber numberWithBool: synchronize] forKey: @"synchronize"];
|
||||
|
||||
if ([folder isWebCalendar])
|
||||
{
|
||||
urls = [NSMutableDictionary dictionaryWithObject: [folder folderPropertyValueInCategory: @"WebCalendars"]
|
||||
|
||||
Reference in new issue
Block a user