Monotone-Parent: 7dc4694487f6ed68847c7c82ec9cbd6abc7cd6bb

Monotone-Revision: 14b414ba7293c0713bd326509d6decb5c2a41d2b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-08T23:05:00
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-11-08 23:05:00 +00:00
parent a0bf0ec418
commit 46eb9aca14

View file

@ -221,7 +221,7 @@
= [[parts objectsForKey: @"disposition"] objectEnumerator];
while (!hasAttachment
&& (currentDisp = [dispositions nextObject]))
hasAttachment = ([currentDisp objectForKey: @"type"]);
hasAttachment = ([[currentDisp objectForKey: @"type"] length]);
}
return hasAttachment;
@ -417,7 +417,8 @@
/* only need to restrict if we have a lot */
uids = [uids subarrayWithRange: r];
msgs = [[self clientObject] fetchUIDs: uids parts: [self fetchKeys]];
msgs = (NSDictionary *) [[self clientObject] fetchUIDs: uids
parts: [self fetchKeys]];
messages = [[msgs objectForKey: @"fetch"] retain];
}
@ -552,7 +553,7 @@
{
WORequest *request;
NSString *specificMessage, *searchCriteria, *searchValue;
SOGoUserFolder *co;
SOGoMailFolder *co;
request = [context request];