mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Monotone-Parent: da9c14ddfb4c9a9c929c7b84543af4ce664cfc10
Monotone-Revision: 829ccf73000a2d91a5daf67741479e395011b6a8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-26T20:13:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -45,8 +45,9 @@
|
||||
{
|
||||
unsigned int v = MSGFLAG_FROMME;
|
||||
|
||||
if ([[self childKeysMatchingQualifier: nil
|
||||
andSortOrderings: nil] count] > 0)
|
||||
if ([[self attachmentKeysMatchingQualifier: nil
|
||||
andSortOrderings: nil]
|
||||
count] > 0)
|
||||
v |= MSGFLAG_HASATTACH;
|
||||
|
||||
*data = MAPILongValue (memCtx, v);
|
||||
@@ -172,17 +173,6 @@ e)
|
||||
return [attachmentParts objectForKey: childKey];
|
||||
}
|
||||
|
||||
- (NSArray *) childKeysMatchingQualifier: (EOQualifier *) qualifier
|
||||
andSortOrderings: (NSArray *) sortOrderings
|
||||
{
|
||||
if (qualifier)
|
||||
[self errorWithFormat: @"qualifier is not used for attachments"];
|
||||
if (sortOrderings)
|
||||
[self errorWithFormat: @"sort orderings are not used for attachments"];
|
||||
|
||||
return attachmentKeys;
|
||||
}
|
||||
|
||||
- (void) submit
|
||||
{
|
||||
NSString *msgClass;
|
||||
|
||||
Reference in New Issue
Block a user