mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-06 19:09:43 +00:00
feat(calendar): Add CALDAV Mac OS X Sonoma (14) support
This commit is contained in:
@@ -150,7 +150,7 @@ static NSArray *childRecordFields = nil;
|
||||
if ([pathElements count] > 1)
|
||||
ocsName = [pathElements objectAtIndex: 1];
|
||||
else
|
||||
ocsName = [[context request] isMacOSXVenturaCalendarApp] ? @"Personal" : @"personal";
|
||||
ocsName = [[context request] isMacOSXFromVenturaCalendarApp] ? @"Personal" : @"personal";
|
||||
|
||||
path = [NSString stringWithFormat: @"/Users/%@/%@/%@",
|
||||
login, [pathElements objectAtIndex: 0], ocsName];
|
||||
@@ -404,7 +404,7 @@ static NSArray *childRecordFields = nil;
|
||||
// FIXME: Improve MacOSX Ventura support
|
||||
// Check if the problem will be fixed by Apple or if this fix should be kept in the future
|
||||
// Ticket #5639
|
||||
if ([[context request] isMacOSXVenturaCalendarApp]) {
|
||||
if ([[context request] isMacOSXFromVenturaCalendarApp]) {
|
||||
_path = [_path stringByReplacingOccurrencesOfString:@"/PERSONAL" withString:@"/personal"];
|
||||
}
|
||||
|
||||
@@ -441,7 +441,7 @@ static NSArray *childRecordFields = nil;
|
||||
// FIXME: Improve MacOSX Ventura support
|
||||
// Check if the problem will be fixed by Apple or if this fix should be kept in the future
|
||||
// Ticket #5639
|
||||
if ([[context request] isMacOSXVenturaCalendarApp]) {
|
||||
if ([[context request] isMacOSXFromVenturaCalendarApp]) {
|
||||
_path = [_path stringByReplacingOccurrencesOfString:@"PERSONAL" withString:@"personal"];
|
||||
}
|
||||
|
||||
@@ -474,7 +474,7 @@ static NSArray *childRecordFields = nil;
|
||||
// FIXME: Improve MacOSX Ventura support
|
||||
// Check if the problem will be fixed by Apple or if this fix should be kept in the future
|
||||
// Ticket #5639
|
||||
if ([[context request] isMacOSXVenturaCalendarApp]) {
|
||||
if ([[context request] isMacOSXFromVenturaCalendarApp]) {
|
||||
realNameInContainer = [realNameInContainer stringByReplacingOccurrencesOfString:@"PERSONAL" withString:@"personal"];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user