]> granicus.if.org Git - neomutt/commitdiff
patch-1.3.27.me.postpone_date.2
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 30 Jan 2002 22:51:12 +0000 (22:51 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 30 Jan 2002 22:51:12 +0000 (22:51 +0000)
send.c

diff --git a/send.c b/send.c
index 33250a2d06450f5e7bc7e30e24f67df1fa78d2d9..a0c595e8f9d5a8917e501015ba22dc0a78b109bc 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1506,7 +1506,14 @@ main_loop:
 full_fcc:
 #endif /* HAVE_PGP || HAVE_SMIME */
     if (msg->content)
+    {
+      /* update received time so that when storing to a mbox-style folder
+       * the From_ line contains the current time instead of when the
+       * message was first postponed.
+       */
+      msg->received = time (NULL);
       mutt_write_fcc (fcc, msg, NULL, 0, NULL);
+    }
 
     msg->content = tmpbody;