(fix) consider DAVx5 like Apple Calendar (fixes #4304)

This commit is contained in:
Ludovic Marcotte committed 2019-03-21 14:08:44 -04:00
1 parent fcdc4c92c0
commit 96bcbbdc14
2 files changed
+7 -1

No files matched your search

+6 -1
View File
@@ -130,10 +130,15 @@
//
- (BOOL) isICal
{
WEClientCapabilities *cc;
cc = [self clientCapabilities];
return ([self isAppleDAVWithSubstring: @"Mac OS X/10."]
|| [self isAppleDAVWithSubstring: @"Mac_OS_X/"]
|| [self isAppleDAVWithSubstring: @"Mac+OS+X/"]
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]);
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]
|| [[cc userAgent] rangeOfString: @"DAVx5"].location != NSNotFound);
}
//