From f9a6082cb919469e48a19f2a61aa7f2a8e75308d Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Fri, 21 Dec 2018 09:42:26 -0800 Subject: [PATCH] Display mail sent message after Fcc finishes. For the case of IMAP, the uploading message would otherwise stay on the screen. In any case, it's best to show that message as the last thing before returning to the index. Thanks to chdiza for reporting the issue! --- send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/send.c b/send.c index 975425c9..610ef3a5 100644 --- a/send.c +++ b/send.c @@ -2042,12 +2042,12 @@ main_loop: goto cleanup; } } - else if (!option (OPTNOCURSES) && ! (flags & SENDMAILX)) - mutt_message (i == 0 ? _("Mail sent.") : _("Sending in background.")); - save_fcc (msg, fcc, sizeof(fcc), clear_content, pgpkeylist, flags); + if (!option (OPTNOCURSES) && ! (flags & SENDMAILX)) + mutt_message (i == 0 ? _("Mail sent.") : _("Sending in background.")); + if (WithCrypto && (msg->security & ENCRYPT)) FREE (&pgpkeylist); -- 2.50.1