see changelog

Monotone-Parent: 06aa9d65ffbfa422bd62686e09571834da68af2f
Monotone-Revision: d1e3f0a9a3c943496e50635a2761fd74560c93c1

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-11-26T01:28:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2007-11-26 01:28:40 +00:00
parent c08f067ee9
commit cad5d40201
2 changed files with 18 additions and 0 deletions
+6
View File
@@ -27,6 +27,12 @@
Modified -flatContentAsString to use UTF-8 as the
default fallback encoding for 8-bit content.
* SoObjects/Mailer/SOGoDraftObject.m
Modified _fillInReplyAddresses:replyToAll:envelope:
so that if there's no recipient, we add at least
ourself to the list.
Fixed a mem leak in the same method.
2007-11-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailPartViewers/UIxMailRenderingContext.m
+12
View File
@@ -488,7 +488,19 @@ static BOOL showTextAttachmentsInline = NO;
[to release];
}
/* If "to" is empty, we add at least ourself as a recipient! */
if (![to count])
{
[to removeAllObjects];
if ([[_envelope replyTo] count])
[self _addEMailsOfAddresses: [_envelope replyTo] toArray: to];
else
[self _addEMailsOfAddresses: [_envelope from] toArray: to];
}
[allRecipients release];
[addrs release];
}
- (NSArray *) _attachmentBodiesFromPaths: (NSArray *) paths