[evolution] Revert "Bug #597473 - Reply-all composes reply to wrong address"



commit 1e53063a44e6127bb178370b44196a5f4740aabd
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Mar 2 19:09:56 2010 -0500

    Revert "Bug #597473 - Reply-all composes reply to wrong address"
    
    This reverts commit c9dcd2a9003c1f1f34e15698903149946994cd84, which
    breaks the use case of clicking "Reply All" on a message in your Sent
    folder which you yourself wrote.  The commit causes your own email
    address to be included in the recipients list, which is undesired and a
    regression from 2.28.

 mail/em-composer-utils.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 80a8620..f69e590 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1893,12 +1893,6 @@ get_reply_all (CamelMimeMessage *message, CamelInternetAddress *to, CamelInterne
 	concat_unique_addrs (cc, to_addrs, rcpt_hash);
 	concat_unique_addrs (cc, cc_addrs, rcpt_hash);
 
-	/* use reply_to for an empty To: */
-	if (reply_to && camel_address_length ((CamelAddress *) to) == 0) {
-		camel_internet_address_get (reply_to, 0, &name, &addr);
-		camel_internet_address_add (to, name, addr);
-	}
-
 	/* promote the first Cc: address to To: if To: is empty */
 	if (camel_address_length ((CamelAddress *) to) == 0 && camel_address_length ((CamelAddress *)cc) > 0) {
 		camel_internet_address_get (cc, 0, &name, &addr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]