* SoObjects/Mailer/SOGoDraftObject.m (-updateFromLDIFRecord:):

carry the c_info attribute in vcards through the x-sogo-contactinfo attribute.
  This functionality was lost a while ago.
  We used to use the NOTE attribute for this. From now on,
  the sogo-connector.autoComplete.commentAttribute have to be set to
  'unprocessed:x-sogo-contactinfo' instead of 'Notes'.

Monotone-Parent: d8a0de208631b406144e740ab09b4e5a92f0e66c
Monotone-Revision: 402b5b43e7c75b50806b41e7372eed0e61a4de9f

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-04-25T21:35:29
This commit is contained in:
Jean Raby
2012-04-25 21:35:29 +00:00
parent f7e9f2fc7d
commit 49a74909d7
2 changed files with 16 additions and 1 deletions
+11
View File
@@ -1,3 +1,14 @@
2012-04-25 Jean Raby <jraby@inverse.ca>
* SoObjects/Mailer/SOGoDraftObject.m
(-updateFromLDIFRecord:): carry the c_info attribute
in vcards through the x-sogo-contactinfo attribute.
This functionality was lost a while ago.
We used to use the NOTE attribute for this. From now on,
the sogo-connector.autoComplete.commentAttribute have to be set to
'unprocessed:x-sogo-contactinfo' instead of 'Notes'.
2012-04-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoDraftObject.m
+5 -1
View File
@@ -297,7 +297,11 @@ convention:
else
[self setBday: @""];
[self setNote: [ldifRecord objectForKey: @"description"]];
/* hack to carry SOGoLDAPContactInfo to vcards */
[[self uniqueChildWithTag: @"x-sogo-contactinfo"]
setSingleValue: [ldifRecord objectForKey: @"c_info"]
forKey: @""];
[self setCategories: [ldifRecord objectForKey: @"vcardcategories"]];
[self cleanupEmptyChildren];