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

This commit is contained in:
smizrahi
2023-01-03 23:33:28 +01:00
parent 86805369a3
commit 7d72fe1281
+8 -1
View File
@@ -401,6 +401,13 @@ static NSArray *childRecordFields = nil;
- (void) setOCSPath: (NSString *) _path
{
// 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]) {
_path = [_path stringByReplacingOccurrencesOfString:@"/Personal" withString:@"/personal"];
}
if (![ocsPath isEqualToString:_path])
{
if (ocsPath)
@@ -463,7 +470,7 @@ static NSArray *childRecordFields = nil;
NSString *realNameInContainer;
realNameInContainer = [self realNameInContainer];
// 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