mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-13 19:01:23 +00:00
See ChangeLog
Monotone-Parent: 733bf0f551fbe77a8e705d2645ef216b33ebdb1b Monotone-Revision: 174ea5c01f9f0634f1e2fad8b1483c6aed1d4f68 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-20T17:18:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2010-09-20 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoGCSFolder.m
|
||||
(+folderWithSubscriptionReference:inContainer:)
|
||||
We now consider the localIsSubscription when
|
||||
building the folderName
|
||||
|
||||
2010-09-20 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoContentObject.m (-davContentLength): use UTF8
|
||||
|
||||
@@ -172,13 +172,19 @@ static NSArray *childRecordFields = nil;
|
||||
|
||||
path = [NSString stringWithFormat: @"/Users/%@/%@/%@",
|
||||
login, [pathElements objectAtIndex: 0], ocsName];
|
||||
folderName = [NSString stringWithFormat: @"%@_%@",
|
||||
[login asCSSIdentifier], ocsName];
|
||||
|
||||
localIsSubscription = ![login isEqualToString:
|
||||
[aContainer ownerInContext: localContext]];
|
||||
|
||||
if (localIsSubscription)
|
||||
folderName = [NSString stringWithFormat: @"%@_%@",
|
||||
[login asCSSIdentifier], ocsName];
|
||||
else
|
||||
folderName = ocsName;
|
||||
|
||||
newFolder = [self objectWithName: folderName inContainer: aContainer];
|
||||
[newFolder setOCSPath: path];
|
||||
[newFolder setOwner: login];
|
||||
localIsSubscription = ![login isEqualToString:
|
||||
[aContainer ownerInContext: localContext]];
|
||||
[newFolder setIsSubscription: localIsSubscription];
|
||||
if (![newFolder displayName])
|
||||
newFolder = nil;
|
||||
|
||||
Reference in New Issue
Block a user