Monotone-Parent: 422ddfee6bdfec5c38432669ba25b9bd6724d6ab

Monotone-Revision: ca89b4b4aa3ed9d74f2eb1ed5db3dfbf7f5e596c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-03-31T22:07:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2011-03-31 22:07:03 +00:00
parent 6697ac9618
commit b36db5358e
3 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,8 @@
2011-03-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMessage.m (-getProperty:withTag:):
handles PR_HASATTACH, previously found in MAPIStoreMailMessage.
* OpenChange/MAPIStoreAttachment.m (-nameInContainer): overriden
method to return "aid" in the form of a NSString.
(-mimeAttachTag): new helper method derived from old code in

View file

@ -231,12 +231,6 @@ static Class NSExceptionK;
}
break;
case PR_HASATTACH:
*data = MAPIBoolValue (memCtx,
[[self childKeysMatchingQualifier: nil
andSortOrderings: nil] count] > 0);
break;
case PR_SENSITIVITY: // TODO
case PR_ORIGINAL_SENSITIVITY: // TODO
*data = MAPILongValue (memCtx, 0);

View file

@ -254,6 +254,12 @@
rc = [self getProperty: data withTag: PR_MESSAGE_CLASS_UNICODE];
break;
case PR_HASATTACH:
*data = MAPIBoolValue (memCtx,
[[self childKeysMatchingQualifier: nil
andSortOrderings: nil] count] > 0);
break;
default:
rc = [super getProperty: data withTag: propTag];
}