From 741ae9a281b1cfb952a8164566c7aab8d59cea13 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 26 Nov 2007 14:23:35 +0000 Subject: [PATCH] Monotone-Parent: 7f9ed95ef5a72bd87470633eec2baeb70b48936e Monotone-Revision: 1e0cd0c819f1c4c90f09af9a26fb932910568542 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-26T14:23:35 Monotone-Branch: ca.inverse.sogo --- SoObjects/Mailer/SOGoDraftObject.m | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index 0a65e754b..0ebb34320 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -488,15 +488,14 @@ static BOOL showTextAttachmentsInline = NO; [to release]; } - /* If "to" is empty, we add at least ourself as a recipient! */ + /* If "to" is empty, we add at least ourself as a recipient! + This is for emails in the "Sent" folder that we reply to... */ if (![to count]) { - [to removeAllObjects]; - if ([[_envelope replyTo] count]) - [self _addEMailsOfAddresses: [_envelope replyTo] toArray: to]; + [self _addEMailsOfAddresses: [_envelope replyTo] toArray: to]; else - [self _addEMailsOfAddresses: [_envelope from] toArray: to]; + [self _addEMailsOfAddresses: [_envelope from] toArray: to]; } [allRecipients release];