Monotone-Parent: e84e98a15cb31552c7707dd925faafe74577f1f4

Monotone-Revision: 59a3a2f8dcdf5c1c777169bb3ffa145eaa47d381

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-23T17:55:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-04-23 17:55:03 +00:00
1 parent ee6beb64f8
commit 04cb3e51ba
2 files changed
+13 -5

No files matched your search

@@ -412,22 +412,26 @@ static NSNumber *sharedYes = nil;
return classes;
}
- (NSString *) groupDavResourceType
- (NSArray *) groupDavResourceType
{
return @"vevent-collection";
return [NSArray arrayWithObjects: @"vevent-collection",
@"vtodo-collection", nil];
}
- (NSArray *) davResourceType
{
static NSArray *colType = nil;
NSArray *gdCol, *cdCol;
NSArray *cdCol;
NSMutableArray *gdCol;
if (!colType)
{
gdCol = [NSMutableArray new];
[gdCol addObjectsFromArray: [self groupDavResourceType]];
[gdCol addObject: XMLNS_GROUPDAV];
cdCol = [NSArray arrayWithObjects: @"calendar", XMLNS_CALDAV, nil];
gdCol = [NSArray arrayWithObjects: [self groupDavResourceType],
XMLNS_GROUPDAV, nil];
colType = [NSArray arrayWithObjects: @"collection", cdCol, gdCol, nil];
[gdCol release];
[colType retain];
}