mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 09:53:23 +00:00
Monotone-Parent: 3bc573b09449f0efea891e5e11a232520f51205c
Monotone-Revision: 3188fd0271db42fb785221461e9a3655109f23a8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-20T19:15:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#import "NSString+Utilities.h"
|
||||
|
||||
#import "SOGoContentObject.h"
|
||||
#import "SOGoParentFolder.h"
|
||||
#import "SOGoPermissions.h"
|
||||
#import "SOGoUser.h"
|
||||
|
||||
@@ -109,11 +110,16 @@ static NSString *defaultUserID = @"<default>";
|
||||
|
||||
- (void) _setDisplayNameFromRow: (NSDictionary *) row
|
||||
{
|
||||
NSString *currentLogin, *ownerLogin;
|
||||
NSString *currentLogin, *ownerLogin, *primaryDN;
|
||||
NSDictionary *ownerIdentity;
|
||||
|
||||
displayName
|
||||
= [NSMutableString stringWithString: [row objectForKey: @"c_foldername"]];
|
||||
primaryDN = [row objectForKey: @"c_foldername"];
|
||||
displayName = [NSMutableString string];
|
||||
if ([primaryDN isEqualToString: [container defaultFolderName]])
|
||||
[displayName appendString: [self labelForKey: primaryDN]];
|
||||
else
|
||||
[displayName appendString: primaryDN];
|
||||
|
||||
currentLogin = [[context activeUser] login];
|
||||
ownerLogin = [self ownerInContext: context];
|
||||
if (![currentLogin isEqualToString: ownerLogin])
|
||||
|
||||
Reference in New Issue
Block a user