From 0569c0ecbe24ff6d74bf90472f8dcefa0150f705 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 9 Jan 2012 22:12:16 +0000 Subject: [PATCH] Monotone-Parent: cec86bee0b5e2a1fc741887d9b9e535436381c6e Monotone-Revision: ad2935dcd60331c29ad6e514b5a61fefaec7d69c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-09T22:12:16 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ OpenChange/MAPIStoreTypes.m | 2 -- OpenChange/NSObject+MAPIStore.m | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a921fde6..bdb612633 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-01-09 Wolfgang Sourdeau + * OpenChange/NSObject+MAPIStore.m (-getValue:forTag:inMemCtx:): + handle PT_SVREID just as PT_BINARY. + * OpenChange/MAPIStoreCalendarFolder.m (-exchangeRightsForRoles): add the freebusy read rights when the user has read permission on calendar objects. diff --git a/OpenChange/MAPIStoreTypes.m b/OpenChange/MAPIStoreTypes.m index 06eadf4e9..980431d1b 100644 --- a/OpenChange/MAPIStoreTypes.m +++ b/OpenChange/MAPIStoreTypes.m @@ -148,7 +148,6 @@ NSObjectFromMAPISPropValue (const struct mapi_SPropValue *value) // #define PT_ERROR 0xa // #define PT_OBJECT 0xd // #define PT_I8 0x14 -// #define PT_SVREID 0xFB // #define PT_SRESTRICT 0xFD // #define PT_ACTIONS 0xFE result = [NSNull null]; @@ -244,7 +243,6 @@ NSObjectFromSPropValue (const struct SPropValue *value) // #define PT_ERROR 0xa // #define PT_OBJECT 0xd // #define PT_I8 0x14 -// #define PT_SVREID 0xFB // #define PT_SRESTRICT 0xFD // #define PT_ACTIONS 0xFE result = [NSNull null]; diff --git a/OpenChange/NSObject+MAPIStore.m b/OpenChange/NSObject+MAPIStore.m index 0774a5c14..198e1969a 100644 --- a/OpenChange/NSObject+MAPIStore.m +++ b/OpenChange/NSObject+MAPIStore.m @@ -106,6 +106,7 @@ static int MAPIStoreTallocWrapperDestroy (void *data) *data = [(NSCalendarDate * ) self asFileTimeInMemCtx: memCtx]; break; case PT_BINARY: + case PT_SVREID: *data = [(NSData *) self asBinaryInMemCtx: memCtx]; break; case PT_CLSID: