]> granicus.if.org Git - neomutt/commitdiff
Fix #1488 (Debian#1882526): Honor Reply-To while generating
authorMichael Elkins <me@sigpipe.org>
Sun, 4 Jan 2004 10:03:46 +0000 (10:03 +0000)
committerMichael Elkins <me@sigpipe.org>
Sun, 4 Jan 2004 10:03:46 +0000 (10:03 +0000)
Mail-Followup-To headers.

send.c

diff --git a/send.c b/send.c
index b2d7c3c244c0cc3c78aac606c209c50a02df5192..a7bb2c9cd50d1a5720456c98c3ec84f4451e9ee6 100644 (file)
--- a/send.c
+++ b/send.c
@@ -859,7 +859,9 @@ void mutt_set_followup_to (ENVELOPE *e)
 
     if (e->mail_followup_to && !mutt_is_list_recipient (0, e->to, e->cc))
     {
-      if (e->from)
+      if (e->reply_to)
+       from = rfc822_cpy_adr (e->reply_to);
+      else if (e->from)
        from = rfc822_cpy_adr (e->from);
       else
        from = mutt_default_from ();