Monotone-Parent: f857a2607e52df575d9685a74699fbd77a616dab

Monotone-Revision: bb660a831898726081ef797a1c2e73f2306dc626

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-07T23:16:46
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-02-07 23:16:46 +00:00
parent d4abf6cf95
commit d6e60a9ba7
2 changed files with 8 additions and 7 deletions
+5
View File
@@ -1,5 +1,10 @@
2011-02-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.
+3 -7
View File
@@ -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;