]> granicus.if.org Git - mutt/commit
Disable state messages for attachments when forwarding.
authorKevin McCarthy <kevin@8t8.us>
Sat, 25 May 2019 21:26:08 +0000 (14:26 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 25 May 2019 21:26:08 +0000 (14:26 -0700)
commit8ae8394f83b207d8b1c411e8b40cc3945840b71c
tree6936a4e044abf8d7a19bd2a7ef66ea28a8fc0b00
parentb00a06e541ac0fdde3c3b8e07106ea131279d896
Disable state messages for attachments when forwarding.

First, option(OPTVIEWATTACH) is only set for (s->flags & DISPLAY), so that
check can be ignored.

With that removed, all this is doing is printing
  [-- This is an attachment ...]
with no context in the middle of non-display rendering for the case
$honor_disposition is set with a handler.

This makes no sense and I believe is a logic error.  Perhaps this
never took effect, but with $forward_attachments it now affects
forwarding in that case.
handler.c