fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639

This commit is contained in:
smizrahi
2023-01-26 17:12:08 +01:00
parent f15840217b
commit 7e357f1bc9
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -405,7 +405,7 @@ static NSArray *childRecordFields = nil;
// 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]) {
_path = [_path stringByReplacingOccurrencesOfString:@"/Personal" withString:@"/personal"];
_path = [_path stringByReplacingOccurrencesOfString:@"/PERSONAL" withString:@"/personal"];
}
if (![ocsPath isEqualToString:_path])
@@ -442,7 +442,7 @@ static NSArray *childRecordFields = nil;
// 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]) {
_path = [_path stringByReplacingOccurrencesOfString:@"Personal" withString:@"personal"];
_path = [_path stringByReplacingOccurrencesOfString:@"PERSONAL" withString:@"personal"];
}
// We check if we got a cache miss or a potentially bogus
@@ -475,7 +475,7 @@ static NSArray *childRecordFields = nil;
// 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]) {
realNameInContainer = [realNameInContainer stringByReplacingOccurrencesOfString:@"Personal" withString:@"personal"];
realNameInContainer = [realNameInContainer stringByReplacingOccurrencesOfString:@"PERSONAL" withString:@"personal"];
}
return [NSString stringWithFormat: @"%@:%@/%@",