mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Refactor acl object and applied comments
This commit is contained in:
committed by
Francis Lachapelle
parent
b4128f97a6
commit
bc19f910f6
@@ -410,7 +410,8 @@
|
||||
if ([domain length])
|
||||
uid = [NSString stringWithFormat: @"%@@%@", uid, domain];
|
||||
[jsonLine setObject: uid forKey: @"uid"];
|
||||
[jsonLine setObject: [NSString stringWithFormat:@"%@ <%@>",[contact objectForKey: @"cn"], [contact objectForKey: @"c_email"]] forKey: @"displayName"];
|
||||
[jsonLine setObject: [contact objectForKey: @"cn"] forKey: @"cn"];
|
||||
[jsonLine setObject: [contact objectForKey: @"c_email"] forKey: @"c_email"];
|
||||
[jsonLine setObject: [NSNumber numberWithBool: [[contact objectForKey: @"isGroup"] boolValue]] forKey: @"isGroup"];
|
||||
contactInfo = [contact objectForKey: @"c_info"];
|
||||
if (contactInfo)
|
||||
|
||||
Reference in New Issue
Block a user