summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-02-05 14:09:28 -0800
committerKevin McCarthy <kevin@8t8.us>2021-02-05 14:23:08 -0800
commit56f4c0b8189594004db37bd31483bb04e19e12db (patch)
treeaa07cdd041f05ff76f45d82006c8daa71fbd3b88
parent18c29a84f2ae4679f8c9a7ac032c9b8b680419af (diff)
Change attach inline forward messages default CH flag.
Fix it to be CH_DECODE instead of CH_XMIT. I believe this was a mistake from a long time ago. The CH_XMIT flag is used in mutt for: - mutt_save_message() -> set_copy_flags() when decoding - pre-send conversion to 7 bit - mutt_make_message_attach() (for index mime-forwarding) - message bouncing Using it for *inline* forwarding in the attachment menu doesn't make sense. Both include_forward() in send.c, and include_header() in recvcmd.c use CH_DECODE. It seems reasonable to decode headers when inline forwarding from the attachment menu (as is done from the index), so I'm guessing that was what was meant here too.
-rw-r--r--recvcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recvcmd.c b/recvcmd.c
index 12a97ba3..d11fb84d 100644
--- a/recvcmd.c
+++ b/recvcmd.c
@@ -663,7 +663,7 @@ static void attach_forward_msgs (FILE * fp, HEADER * hdr,
_("Forward MIME encapsulated?"))) == MUTT_NO)
{
int cmflags = MUTT_CM_FORWARDING;
- int chflags = CH_XMIT;
+ int chflags = CH_DECODE;
/* no MIME encapsulation */