Monotone-Parent: 4fff03b9e04c6c05d2e2e0e2fea66011040642e4
Monotone-Revision: a811cbd171c64445b4b32261e56c4b5085787de0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-24T20:56:44 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
644b03ed8c
commit
a6900ed88b
|
@ -1,5 +1,9 @@
|
||||||
2011-02-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2011-02-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* OpenChange/MAPIStoreMailMessage.m
|
||||||
|
(_fetchAttachmentPartsInBodyInfo:withPrefix:): detect attachment
|
||||||
|
parts based on the existence of the "filename" info parameter.
|
||||||
|
|
||||||
* OpenChange/MAPIStoreTable.m: refactored class to be used as an
|
* OpenChange/MAPIStoreTable.m: refactored class to be used as an
|
||||||
accessor on MAPIStoreFolder or other MAPIStoreObject derivatives
|
accessor on MAPIStoreFolder or other MAPIStoreObject derivatives
|
||||||
based on a defined set of methods. Now strictly handle the sorting
|
based on a defined set of methods. Now strictly handle the sorting
|
||||||
|
|
|
@ -603,12 +603,12 @@ static Class NSExceptionK;
|
||||||
withPrefix: (NSString *) keyPrefix
|
withPrefix: (NSString *) keyPrefix
|
||||||
{
|
{
|
||||||
NSArray *parts;
|
NSArray *parts;
|
||||||
NSString *dispType;
|
NSDictionary *parameters;
|
||||||
NSUInteger count, max;
|
NSUInteger count, max;
|
||||||
|
|
||||||
dispType = [[bodyInfo objectForKey: @"disposition"]
|
parameters = [[bodyInfo objectForKey: @"disposition"]
|
||||||
objectForKey: @"type"];
|
objectForKey: @"parameterList"];
|
||||||
if ([[dispType lowercaseString] isEqualToString: @"attachment"])
|
if ([[parameters objectForKey: @"filename"] length] > 0)
|
||||||
{
|
{
|
||||||
if ([keyPrefix length] == 0)
|
if ([keyPrefix length] == 0)
|
||||||
keyPrefix = @"0";
|
keyPrefix = @"0";
|
||||||
|
|
Loading…
Reference in a new issue