From: Thomas Roessler Date: Tue, 5 Sep 2006 08:57:37 +0000 (+0000) Subject: Fix #2168. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e2b94074cd695a5a4b7157a441063af5019636d;p=neomutt Fix #2168. --- diff --git a/send.c b/send.c index e9ec1574e..9b35e194d 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)) &&