Monotone-Parent: 31807da18a3cf3d8905fa495f3a96075ee5bfa36

Monotone-Revision: 3773ee4ff0af58d57aae68dc6e314c7d9fd6e0d5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-30T14:28:54
This commit is contained in:
Wolfgang Sourdeau
2011-11-30 14:28:54 +00:00
parent 0df7048bbf
commit 7aaa7c2fca
2 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
2011-11-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/WORequest+SOGo.m (-isICal, -isICal4): updated for
iCal 5.
* SoObjects/Appointments/SOGoAppointmentInboxFolder.m
(-davScheduleDefaultCalendarURL): fixed method to return a
properly formatted XML chunk.

View File

@@ -131,7 +131,8 @@
- (BOOL) isICal
{
return [self isAppleDAVWithSubstring: @"Mac OS X/10."];
return ([self isAppleDAVWithSubstring: @"Mac OS X/10."]
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]);
}
//
@@ -140,8 +141,9 @@
//
- (BOOL) isICal4
{
return ([self isAppleDAVWithSubstring: @"iCal/4."] ||
[self isAppleDAVWithSubstring: @"iCal/5."]);
return ([self isAppleDAVWithSubstring: @"iCal/4."]
|| [self isAppleDAVWithSubstring: @"iCal/5."]
|| [self isAppleDAVWithSubstring: @"CoreDAV/"]);
}