mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-29 10:02:43 +00:00
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:
@@ -603,12 +603,12 @@ static Class NSExceptionK;
|
||||
withPrefix: (NSString *) keyPrefix
|
||||
{
|
||||
NSArray *parts;
|
||||
NSString *dispType;
|
||||
NSDictionary *parameters;
|
||||
NSUInteger count, max;
|
||||
|
||||
dispType = [[bodyInfo objectForKey: @"disposition"]
|
||||
objectForKey: @"type"];
|
||||
if ([[dispType lowercaseString] isEqualToString: @"attachment"])
|
||||
parameters = [[bodyInfo objectForKey: @"disposition"]
|
||||
objectForKey: @"parameterList"];
|
||||
if ([[parameters objectForKey: @"filename"] length] > 0)
|
||||
{
|
||||
if ([keyPrefix length] == 0)
|
||||
keyPrefix = @"0";
|
||||
|
||||
Reference in New Issue
Block a user