Monotone-Parent: 3cb2fca087640ef420f86750a3bd9caf7c365b3b

Monotone-Revision: 551d7c926dcd36700dd7ae6ae2cb2b2c0a8294c5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-27T19:25:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-09-27 19:25:18 +00:00
parent 7eb2149ad5
commit bd45d9b0f2
3 changed files with 22 additions and 14 deletions

View File

@@ -599,7 +599,7 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
aRow = talloc_zero (memCtx, struct SRow);
aRow->lpProps = talloc_array (aRow, struct SPropValue, 65535);
for (count = 0; count < availableProps->cValues; count++)
{
propTag = availableProps->aulPropTag[count];
@@ -616,6 +616,12 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
}
}
if (targetChangeKey)
{
set_SPropValue_proptag(&aRow->lpProps[aRow->cValues], PR_CHANGE_KEY, targetChangeKey);
aRow->cValues++;
}
rc = [self createMessage: &destMsg withMID: targetMid
isAssociated: [sourceMsg isKindOfClass: MAPIStoreFAIMessageK]];
if (rc != MAPISTORE_SUCCESS)