aerc/commands
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
..
account refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
compose pgp: add attach key command 2022-05-06 11:02:55 +02:00
msg pgp: fix pipe|open|save command behavior 2022-06-24 21:08:21 +02:00
msgview open: fix mimetype discovery for encrypted or signed messages 2022-06-26 12:07:44 +02:00
terminal go.mod: change base git url 2021-11-05 10:21:45 +01:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go commands: fix possible panic in CompletionFromList 2022-03-16 17:02:29 +01:00
ct.go commands: use SelectedAccountUiConfig instead of explicit nil check 2022-03-16 17:02:36 +01:00
exec.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go help: add completions 2022-05-23 20:59:10 +02:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go logging: added a log on panic 2022-03-23 20:56:09 +01:00