Monotone-Parent: 3cad3ace0562bec9fda3d3fbacaeea2559bdda1b

Monotone-Revision: 135e7483e9580e1a8e72447e05a5d342c957b54a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-09T15:54:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2008-07-09 15:54:39 +00:00
1 parent 7a85810909
commit 726a54d7dc
2 files changed
+39 -1

No files matched your search

+29 -1
View File
@@ -1304,6 +1304,32 @@ _selectorForProperty (NSString *property)
return error;
}
- (SOGoWebDAVValue *) davCalendarFreeBusySet
{
NSEnumerator *subFolders;
SOGoAppointmentFolder *currentFolder;
NSMutableArray *response;
SOGoWebDAVValue *responseValue;
response = [NSMutableArray new];
subFolders = [[container subFolders] objectEnumerator];
while ((currentFolder = [subFolders nextObject]))
[response addObject: davElementWithContent (@"href", XMLNS_WEBDAV,
[currentFolder davURL])];
responseValue = [davElementWithContent (@"calendar-free-busy-set", XMLNS_CALDAV, response)
asWebDAVValue];
[response release];
return responseValue;
}
/* This method is ignored but we must return a success value. */
- (NSException *) setDavCalendarFreeBusySet: (NSString *) newFreeBusySet
{
return nil;
}
- (void) _appendComponentProperties: (NSString **) properties
matchingFilters: (NSArray *) filters
toResponse: (WOResponse *) response
@@ -1751,7 +1777,9 @@ _selectorForProperty (NSString *property)
if ([method isEqualToString: @"REQUEST"])
elements = [apt postCalDAVEventRequestTo: recipients];
else if ([method isEqualToString: @"REPLY"])
elements = [apt postCalDAVEventReplyTo: recipients];
elements = [apt postCalDAVEventReplyTo: recipients];
else if ([method isEqualToString: @"CANCEL"])
elements = [apt postCalDAVEventCancelTo: recipients];
else
elements = nil;