diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-03-03 16:20:07 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-03 16:49:52 -0500 |
commit | f3158b36f1f210ff54febbe82b571c1379b30c98 (patch) | |
tree | 10cde839c9517609f55b8f1057b1cf84ac592632 /commands/msg | |
parent | 89f1684ea4b5e680db7ff06a54b2d4e78212cd12 (diff) | |
download | aerc-f3158b36f1f210ff54febbe82b571c1379b30c98.tar.gz |
Initial support for PGP decryption & signatures
Diffstat (limited to 'commands/msg')
-rw-r--r-- | commands/msg/delete.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 3f91a46..fb0d1f8 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -68,8 +68,11 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { acct.Messages().Scroll() return nil } - nextMv := widgets.NewMessageViewer(acct, aerc.Config(), store, next) - aerc.ReplaceTab(mv, nextMv, next.Envelope.Subject) + lib.NewMessageStoreView(next, store, aerc.DecryptKeys, + func(view lib.MessageView) { + nextMv := widgets.NewMessageViewer(acct, aerc.Config(), view) + aerc.ReplaceTab(mv, nextMv, next.Envelope.Subject) + }) } } acct.Messages().Scroll() |