From 4baf85438b7ea17836fad9a25699b3a2db43bcc4 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 19 Apr 2011 22:28:00 +0000 Subject: [PATCH] Monotone-Parent: 137c790e1a56597f25936f21d69eb6a067d1dc8d Monotone-Revision: 96bc9c93be6505326ba3ccc6e53959d9f5aaefb0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-19T22:28:00 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIStoreTypes.m | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2e9b3f8f1..f932b7d08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-04-19 Wolfgang Sourdeau + * OpenChange/MAPIStoreTypes.m (NSObjectFromMAPISPropValue) + (NSObjectFromSPropValue): we now support PT_SVREID and handle it + exactly as PT_BINARY. + * OpenChange/MAPIStoreMessage.m (-attachmentTable): as all the subclasses were using the same MAPIStoreAttachmentTable implementation, this method now performs the same operation and diff --git a/OpenChange/MAPIStoreTypes.m b/OpenChange/MAPIStoreTypes.m index d8b971b54..5d61ca4b8 100644 --- a/OpenChange/MAPIStoreTypes.m +++ b/OpenChange/MAPIStoreTypes.m @@ -116,6 +116,7 @@ NSObjectFromMAPISPropValue (const struct mapi_SPropValue *value) result = [NSCalendarDate dateFromFileTime: &(value->value.ft)]; break; case PT_BINARY: + case PT_SVREID: result = [NSData dataWithShortBinary: &value->value.bin]; break; case PT_CLSID: @@ -175,6 +176,7 @@ NSObjectFromSPropValue (const struct SPropValue *value) result = [NSCalendarDate dateFromFileTime: &(value->value.ft)]; break; case PT_BINARY: + case PT_SVREID: // lpProps->value.bin = *((const struct Binary_r *)data); result