diff --git a/ChangeLog b/ChangeLog index 730df92d8..c63d43685 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-05 Wolfgang Sourdeau + + * OpenChange/SOGoContactGCSEntry+MAPIStore.m (-setMAPIProperties): + take "PidLidEmail1EmailAddress" id as key for the contact email + address. + 2011-01-05 Ludovic Marcotte * SoObjects/SOGo/SQLSource.m - we now honor the "mail" column diff --git a/OpenChange/SOGoContactGCSEntry+MAPIStore.m b/OpenChange/SOGoContactGCSEntry+MAPIStore.m index cf03364b0..9a3b78ff6 100644 --- a/OpenChange/SOGoContactGCSEntry+MAPIStore.m +++ b/OpenChange/SOGoContactGCSEntry+MAPIStore.m @@ -27,6 +27,8 @@ #import #import +#include + #import "MAPIStoreTypes.h" #import "SOGoContactGCSEntry+MAPIStore.h" @@ -60,7 +62,7 @@ if (value) [newCard setFn: value]; - value = [properties objectForKey: MAPIPropertyKey (0x81b0001f)]; + value = [properties objectForKey: MAPIPropertyKey (PidLidEmail1EmailAddress)]; if (value) [newCard addEmail: value types: nil];