From: Rocco Rutte Date: Thu, 25 Jun 2009 12:29:52 +0000 (+0200) Subject: Only add Status: header (fcc/postpone) when saving to mbox/mmdf X-Git-Tag: neomutt-20160307~521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7d10de9c06de16d3fc8b3566252eaa56bf107e5;p=neomutt Only add Status: header (fcc/postpone) when saving to mbox/mmdf --- diff --git a/ChangeLog b/ChangeLog index bedff399d..f1ae7652d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-06-25 14:29 +0200 Rocco Rutte (bd0828adede8) + + * compose.c: Treat messages written with as fcc, not + postponed. + +2009-06-23 10:13 -0700 Vincent Lefevre (bc2463863c15) + + * ChangeLog, po/fr.po: Updated French translation. + 2009-06-23 16:56 +0200 Rocco Rutte (d152033cf967) * doc/manual.xml.head: Manual: Simply type conversion section wording. diff --git a/sendlib.c b/sendlib.c index a6e7738c3..5915a5481 100644 --- a/sendlib.c +++ b/sendlib.c @@ -2653,9 +2653,9 @@ int mutt_write_fcc (const char *path, HEADER *hdr, const char *msgid, int post, */ if (post && fcc) fprintf (msg->fp, "X-Mutt-Fcc: %s\n", fcc); - fprintf (msg->fp, "Status: RO\n"); - + if (f.magic == M_MMDF || f.magic == M_MBOX) + fprintf (msg->fp, "Status: RO\n"); /* (postponment) if the mail is to be signed or encrypted, save this info */ if ((WithCrypto & APPLICATION_PGP)