From 08a90cfb23daaba9ef36d72f9dd8ff4757a683c4 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 24 Apr 2008 01:08:34 +0000 Subject: [PATCH] Monotone-Parent: aedd631068b1147a4f0674f42632b314194f6f83 Monotone-Revision: cda3bd58c324868ead052e625bbdbcb210c60af5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-24T01:08:34 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/SOGoUserFolder.m | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 514f2561c..14180fa58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-04-23 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder + -davResourceType]): we declare self as a "principal". + * SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject -davContentLength]): the content length should is now based on the UTF-8 encoding. diff --git a/SoObjects/SOGo/SOGoUserFolder.m b/SoObjects/SOGo/SOGoUserFolder.m index a3a6dc7db..a7e6ba514 100644 --- a/SoObjects/SOGo/SOGoUserFolder.m +++ b/SoObjects/SOGo/SOGoUserFolder.m @@ -221,6 +221,16 @@ return results; } +- (NSArray *) davResourceType +{ + NSMutableArray *rType; + + rType = [NSMutableArray arrayWithArray: [super davResourceType]]; + [rType addObject: @"principal"]; + + return rType; +} + - (NSString *) _baseDAVURLWithSuffix: (NSString *) suffix { NSURL *prefixURL;