diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-06-25 07:40:10 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-06-26 12:07:44 +0200 |
commit | 96db50c4f06bab4ef052b584943d8c7113766a06 (patch) | |
tree | 9685c9e2576d51d9fd4fb62a29b92f61407d77a1 /lib/crypto/gpg | |
parent | 520595114963e5251bf7d26d5056230cdce7ec98 (diff) | |
download | aerc-96db50c4f06bab4ef052b584943d8c7113766a06.tar.gz |
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>
Diffstat (limited to 'lib/crypto/gpg')
0 files changed, 0 insertions, 0 deletions