From 8545db61e9fe7475156d2c368b6bb4e3d282a1d5 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 1 Jun 2007 05:52:37 +0000 Subject: [PATCH] Monotone-Parent: c0a73ddf1c118dc1d1ffba692d34ff101d082702 Monotone-Revision: fb30e7ee41a9c1aa800c8f7cccf52d513a51d955 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-01T05:52:37 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Contacts/SOGoContactLDAPFolder.m | 20 ++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e19404c9..88eaf7090 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-01 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactLDAPFolder.m + ([SOGoContactLDAPFolder -davResourceType]): declare the correct + groupdav resource-type. + * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders -davContentType]): same as below. diff --git a/SoObjects/Contacts/SOGoContactLDAPFolder.m b/SoObjects/Contacts/SOGoContactLDAPFolder.m index 75c198947..e5af09c93 100644 --- a/SoObjects/Contacts/SOGoContactLDAPFolder.m +++ b/SoObjects/Contacts/SOGoContactLDAPFolder.m @@ -172,9 +172,25 @@ return result; } -- (NSString *) groupDavResourceType +- (NSArray *) davResourceType { - return @"vcard-collection"; + NSArray *rType, *groupDavCollection; + + groupDavCollection = [NSArray arrayWithObjects: @"vcard-collection", + XMLNS_GROUPDAV, nil]; + rType = [NSArray arrayWithObjects: @"collection", groupDavCollection, nil]; + + return rType; +} + +- (NSString *) davContentType +{ + return @"httpd/unix-directory"; +} + +- (BOOL) davIsCollection +{ + return YES; } /* acls */