]> granicus.if.org Git - mutt/commit
Improve attachment menu for s/mime parts. (closes #113)
authorKevin McCarthy <kevin@8t8.us>
Thu, 24 Jan 2019 22:15:33 +0000 (14:15 -0800)
committerKevin McCarthy <kevin@8t8.us>
Thu, 24 Jan 2019 23:05:36 +0000 (15:05 -0800)
commit331d9d5a9bb6a35d4ba7a9ecf74bb7f1e7e3fa21
treefb1674b305b00a29c80b86651c1e9bdbbb792a7d
parentcaf5db85396fce2da624449f76a174534657425e
Improve attachment menu for s/mime parts. (closes #113)

Don't prompt for passphrase or getkeys, or set the ENCRYPT flag, for
OPAQUE types.

Don't recurse on "text" output from decrypt_mime().  There is no
reason to recurse on a text type.  Additionally, the
mutt_read_mime_header() will return an empty text type even if the
decode doesn't generate mime output.  In those cases, we want to show
the original attachment.
recvattach.c