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:
parent
6697ac9618
commit
b36db5358e
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue