From 75e3dac9b6fe8cbc5d45c43c212cd96becaeba7f Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 26 Oct 2011 21:29:36 +0000 Subject: [PATCH] Monotone-Parent: d8051095a654a9aefa21bff1eaec9672b5ddb438 Monotone-Revision: c2bdfbc593f7ac0758ee78b63baee4d5b409e6bd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-26T21:29:36 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIStoreMessage.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c82436dfe..84a38fd61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,10 @@ 2011-10-26 Wolfgang Sourdeau + * OpenChange/MAPIStoreMessage.m + (-modifyRecipientsWithRows:andCount:andColumns:): take BCC + recipients into account. + * OpenChange/MAPIStoreMessage.m (_convertRecipientFromRow:andColumns:): temp hack: make use of set_mapi_SPropValue_sogo instead of set_mapi_SPropValue, which was diff --git a/OpenChange/MAPIStoreMessage.m b/OpenChange/MAPIStoreMessage.m index 8bf5cbd24..273c9069d 100644 --- a/OpenChange/MAPIStoreMessage.m +++ b/OpenChange/MAPIStoreMessage.m @@ -318,7 +318,7 @@ NSData *MAPIStoreExternalEntryId (NSString *cn, NSString *email) currentRow = rows + count; if (currentRow->RecipClass >= MAPI_ORIG - && currentRow->RecipClass < MAPI_BCC) + && currentRow->RecipClass <= MAPI_BCC) { recType = recTypes[currentRow->RecipClass]; list = [recipients objectForKey: recType];