]> granicus.if.org Git - neomutt/commitdiff
fix setting the 'replied' flag
authorRichard Russon <rich@flatcap.org>
Fri, 12 Apr 2019 16:17:54 +0000 (17:17 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 16 Apr 2019 11:30:19 +0000 (12:30 +0100)
When replying to an email, mark the original as 'replied'.

Fixes: #1647
send.c

diff --git a/send.c b/send.c
index b53f37558335945907aafed9b71fbee839b34ae2..47600da105e8a4bb1b87eeebf0f90af43a1dbdfb 100644 (file)
--- a/send.c
+++ b/send.c
@@ -2457,10 +2457,7 @@ int ci_send_message(SendFlags flags, struct Email *msg, const char *tempfile,
    * In-Reply-To: and References: headers during edit */
   if (flags & SEND_REPLY)
   {
-    if (cur && ctx)
-      mutt_set_flag(ctx->mailbox, cur, MUTT_REPLIED, is_reply(cur, msg));
-    else if (!(flags & SEND_POSTPONED) && ctx && ctx->mailbox &&
-             (ctx->mailbox->msg_tagged != 0))
+    if (!(flags & SEND_POSTPONED) && ctx && ctx->mailbox)
     {
       STAILQ_FOREACH(en, el, entries)
       {