diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-03 08:09:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-03 08:09:56 +0800 |
commit | 1e53063a44e6127bb178370b44196a5f4740aabd (patch) | |
tree | 5a475950fa686e62d60960f22f2848640022ce23 /mail/em-composer-utils.c | |
parent | 0a9b740c1b9eff9bdfa89cd8ac4acc587c57df34 (diff) | |
download | gsoc2013-evolution-1e53063a44e6127bb178370b44196a5f4740aabd.tar.gz gsoc2013-evolution-1e53063a44e6127bb178370b44196a5f4740aabd.tar.zst gsoc2013-evolution-1e53063a44e6127bb178370b44196a5f4740aabd.zip |
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.
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | 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 80a86205a3..f69e59017d 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); |