mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 23:51:23 +00:00
Monotone-Parent: b6e0c5de869a2a15ff75f7dd4850ede790373285
Monotone-Revision: 3cd1b3a63a62fe841a9e4978d5ca818ab175f870 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-09-06T14:13:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -540,7 +540,7 @@ FillMessageHeadersFromProperties (NGMutableHashMap *headers,
|
||||
NSArray *list;
|
||||
NSCalendarDate *date;
|
||||
NSDictionary *recipients;
|
||||
NSUInteger count;
|
||||
NSUInteger type;
|
||||
SOGoUser *activeUser;
|
||||
|
||||
activeUser
|
||||
@@ -555,12 +555,16 @@ FillMessageHeadersFromProperties (NGMutableHashMap *headers,
|
||||
recipients = [mailProperties objectForKey: @"recipients"];
|
||||
if (recipients)
|
||||
{
|
||||
for (count = 1; count < 3; count++)
|
||||
for (type = MAPI_TO; type <= MAPI_BCC; type++)
|
||||
{
|
||||
recId = recTypes[count];
|
||||
recId = recTypes[type];
|
||||
list = MakeRecipientsList ([recipients objectForKey: recId]);
|
||||
[headers setObjects: list forKey: recId];
|
||||
}
|
||||
|
||||
list = MakeRecipientsList ([recipients objectForKey: @"orig"]);
|
||||
if (list)
|
||||
[headers setObjects: list forKey: @"from"];
|
||||
}
|
||||
else
|
||||
NSLog (@"message without recipients");
|
||||
|
||||
Reference in New Issue
Block a user