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

This commit is contained in:
smizrahi committed 2023-01-17 16:32:53 +01:00
1 parent 4d7a425428
commit a5347c70aa
7 files changed
+16 -10

No files matched your search

+6
View File
@@ -136,6 +136,12 @@ static NSString *inboxFolderName = @"INBOX";
namespaceDict = [client namespace];
namespace = [namespaceDict objectForKey: @"personal"];
// 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]) {
namespace = [namespaceDict objectForKey: @"Personal"];
}
if (namespace)
[self _appendNamespace: namespace toFolders: folders];