aerc/commands/msgview
Tim Culverhouse 96db50c4f0 open: fix mimetype discovery for encrypted or signed messages
Mimetype discovery for the :open command is based on the BodyStructure
of the message. This patch fixes the method which got the BodyStructure
of the message to a more generalized one, which is set post-encryption
and post-validation. This allows encrypted or signed message parts to
have their proper mimetype discovered.

Fixes: https://todo.sr.ht/~rjarry/aerc/50
Reported-by: ~ph14nix
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Koni Marti <koni.marti@gmail.com>
2022-06-26 12:07:44 +02:00
..
close.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msgview.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-part.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
open.go open: fix mimetype discovery for encrypted or signed messages 2022-06-26 12:07:44 +02:00
save.go pgp: fix pipe|open|save command behavior 2022-06-24 21:08:21 +02:00
toggle-headers.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
toggle-key-passthrough.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00