mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
Monotone-Parent: 535ca06ba5fc04d3cf56ee0db455b20d6440c6af
Monotone-Revision: f76b30d3c9c04252e5fed0d8188d8597e78d089d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-26T18:39:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-09-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
|
||||
-vCard]): set the card's fn to attribute "displayName" if found
|
||||
before "cn".
|
||||
|
||||
2006-09-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
|
||||
|
||||
@@ -143,7 +143,10 @@
|
||||
[vcard setVClass: @"PUBLIC"];
|
||||
[vcard setProdID: @"-//OpenGroupware.org//SOGo"];
|
||||
[vcard setProfile: @"vCard"];
|
||||
[vcard setFn: [ldapEntry singleAttributeWithName: @"cn"]];
|
||||
info = [ldapEntry singleAttributeWithName: @"displayName"];
|
||||
if (!(info && [info length] > 0))
|
||||
info = [ldapEntry singleAttributeWithName: @"cn"];
|
||||
[vcard setFn: info];
|
||||
surname = [ldapEntry singleAttributeWithName: @"sn"];
|
||||
if (!surname)
|
||||
surname = [ldapEntry singleAttributeWithName: @"surname"];
|
||||
|
||||
Reference in New Issue
Block a user