From 005752498374da5e8906e56e708b13b41254ea66 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 2 Dec 2020 09:27:56 -0500 Subject: [PATCH] fix(addressbook(dav)): add support for macOS 11 (Big Sur) Fixes #5203 --- SoObjects/SOGo/WORequest+SOGo.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index 11a9a52d0..310900900 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -18,10 +18,8 @@ * Boston, MA 02111-1307, USA. */ -#import #import -#import #import #import #import @@ -133,6 +131,10 @@ // - (BOOL) isICal { + WEClientCapabilities *cc; + + cc = [self clientCapabilities]; + return ([self isAppleDAVWithSubstring: @"Mac OS X/10."] || [self isAppleDAVWithSubstring: @"Mac_OS_X/"] || [self isAppleDAVWithSubstring: @"Mac+OS+X/"]