summaryrefslogtreecommitdiff
path: root/commands/account/view.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/view.go')
-rw-r--r--commands/account/view.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/view.go b/commands/account/view.go
index 53ad267..8537d33 100644
--- a/commands/account/view.go
+++ b/commands/account/view.go
@@ -45,7 +45,7 @@ func (ViewMessage) Execute(aerc *widgets.Aerc, args []string) error {
aerc.PushError(msg.Error.Error())
return nil
}
- lib.NewMessageStoreView(msg, store, aerc.DecryptKeys,
+ lib.NewMessageStoreView(msg, store, aerc.Crypto, aerc.DecryptKeys,
func(view lib.MessageView, err error) {
if err != nil {
aerc.PushError(err.Error())