Monotone-Parent: a93dd2767c4f017932c6339f82394fd558ef304f

Monotone-Revision: 7e63e5fdd760a91e91ec6f1759064a5e5c2f267f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-10-23T15:35:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-10-23 15:35:20 +00:00
parent 94e1d60312
commit b6201ae20a
10 changed files with 33 additions and 20 deletions
+3 -3
View File
@@ -274,11 +274,11 @@
parts = [[message objectForKey: @"body"] objectForKey: @"parts"];
if ([parts count] > 1)
{
dispositions
= [[parts objectsForKey: @"disposition"] objectEnumerator];
dispositions = [[parts objectsForKey: @"disposition"
notFoundMarker: nil] objectEnumerator];
while (!hasAttachment
&& (currentDisp = [dispositions nextObject]))
hasAttachment = ([[currentDisp objectForKey: @"type"] length]);
hasAttachment = ([[currentDisp objectForKey: @"type"] length]);
}
return hasAttachment;