From: Thomas Roessler Date: Tue, 5 Sep 2006 08:57:37 +0000 (+0000) Subject: Fix #2168. X-Git-Tag: mutt-1-5-14-rel~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5820e8e3b7b91b0699a56e775e12333124c9c2ee;p=mutt Fix #2168. --- diff --git a/send.c b/send.c index e9ec1574..9b35e194 100644 --- a/send.c +++ b/send.c @@ -574,8 +574,6 @@ LIST *mutt_make_references(ENVELOPE *e) void mutt_fix_reply_recipients (ENVELOPE *env) { - mutt_expand_aliases_env (env); - if (! option (OPTMETOO)) { /* the order is important here. do the CC: first so that if the @@ -1213,7 +1211,10 @@ ci_send_message (int flags, /* send mode */ process_user_recips (msg->env); /* Expand aliases and remove duplicates/crossrefs */ - mutt_fix_reply_recipients (msg->env); + mutt_expand_aliases_env (msg->env); + + if (flags & SENDREPLY) + mutt_fix_reply_recipients (msg->env); if (! (flags & SENDMAILX) && ! (option (OPTAUTOEDIT) && option (OPTEDITHDRS)) &&