summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-11 18:12:45 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-11 18:12:45 +0000
commit66ff19a6624f6947f057555d372af1166b66872c (patch)
tree8e26a20d66655f19376b1914e9c406ca21fba05d /handler.c
parent87396ee5863e935906c9ed11ee8a87da1a6263d7 (diff)
When decode-forwarding messages with message/Rfc822 attachments,
mutt should weed the attachments' headers according to the setting of $forward_weed.
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 7392ea40..20d46e08 100644
--- a/handler.c
+++ b/handler.c
@@ -976,7 +976,7 @@ void message_handler (BODY *a, STATE *s)
if (b->parts)
{
mutt_copy_hdr (s->fpin, s->fpout, off_start, b->parts->offset,
- (((s->flags & M_DISPLAY) && option (OPTWEED)) ? (CH_WEED | CH_REORDER) : 0) |
+ (((s->flags & M_WEED) || ((s->flags & M_DISPLAY) && option (OPTWEED))) ? (CH_WEED | CH_REORDER) : 0) |
(s->prefix ? CH_PREFIX : 0) | CH_DECODE | CH_FROM, s->prefix);
if (s->prefix)