mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 18:18:12 +00:00
(fix) consider DAVx5 like Apple Calendar (fixes #4304)
This commit is contained in:
1 parent
fcdc4c92c0
commit
96bcbbdc14
2 files changed
+7
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user