mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +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:
@@ -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