From d6e60a9ba7fcef39211eb9139e98fe433d26a046 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 7 Feb 2011 23:16:46 +0000 Subject: [PATCH] Monotone-Parent: f857a2607e52df575d9685a74699fbd77a616dab Monotone-Revision: bb660a831898726081ef797a1c2e73f2306dc626 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-07T23:16:46 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ OpenChange/MAPIStoreContext.m | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fe215897..d88087c3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-02-07 Wolfgang Sourdeau + * OpenChange/MAPIStoreContext.m (-openMessage:forKey:inTable:): + only return PR_SUBJECT_PREFIX_UNICODE, + PR_NORMALIZED_SUBJECT_UNICODE as those are the only fields + required by the doc. + * OpenChange/MAPIStoreMailMessageTable.m (-getChildProperty:forKey:withTag:): handle PR_FLAG_STATUS and PR_FOLLOWUP_ICON based on the "Flagged" message flag. diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 96e3184c0..93a942f58 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -775,12 +775,8 @@ _prepareContextClass (struct mapistore_context *newMemCtx, forKey: (NSString *) childKey inTable: (MAPIStoreTable *) table { - static enum MAPITAGS tags[] = { PR_SUBJECT_UNICODE, PR_HASATTACH, - PR_MESSAGE_DELIVERY_TIME, PR_MESSAGE_FLAGS, - PR_FLAG_STATUS, PR_SENSITIVITY, - PR_SENT_REPRESENTING_NAME_UNICODE, - PR_INTERNET_MESSAGE_ID_UNICODE, - PR_READ_RECEIPT_REQUESTED }; + static enum MAPITAGS tags[] = { PR_SUBJECT_PREFIX_UNICODE, + PR_NORMALIZED_SUBJECT_UNICODE }; struct SRowSet *recipients; struct SRow *properties; NSInteger count, max; @@ -795,7 +791,7 @@ _prepareContextClass (struct mapistore_context *newMemCtx, recipients->aRow = NULL; msg->recipients = recipients; - max = 9; + max = 2; properties = talloc_zero (memCtx, struct SRow); properties->cValues = 0; properties->ulAdrEntryPad = 0;