see changelog

Monotone-Parent: 399ddcc3b0b509af5a4d05cd434475774187e48c
Monotone-Revision: 0cee430f2a0dfc64e4d3616db2934929c59abbbf

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-12-03T14:13:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte committed 2007-12-03 14:13:10 +00:00
1 parent 1bbd867cbe
commit 296245f3c1
29 files changed
+888 -24

No files matched your search

+11 -1
View File
@@ -467,7 +467,6 @@ static BOOL showTextAttachmentsInline = NO;
[_info setObject: to forKey: @"to"];
/* CC processing if we reply-to-all: add all 'to' and 'cc' */
if (_replyToAll)
{
to = [NSMutableArray new];
@@ -498,6 +497,17 @@ static BOOL showTextAttachmentsInline = NO;
[self _addEMailsOfAddresses: [_envelope from] toArray: to];
}
/* If we have no To but we have Cc recipients, let's move the Cc
to the To bucket... */
if ([[_info objectForKey: @"to"] count] == 0 && [_info objectForKey: @"cc"])
{
id o;
o = [_info objectForKey: @"cc"];
[_info setObject: o forKey: @"to"];
[_info removeObjectForKey: @"cc"];
}
[allRecipients release];
[addrs release];
}