diff options
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r-- | commands/msg/delete.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index ee682a47..57cef34d 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -63,7 +63,8 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { acct.Messages().Invalidate() return } - lib.NewMessageStoreView(next, store, aerc.Crypto, aerc.DecryptKeys, + lib.NewMessageStoreView(next, acct.UiConfig().AutoMarkRead, + store, aerc.Crypto, aerc.DecryptKeys, func(view lib.MessageView, err error) { if err != nil { aerc.PushError(err.Error()) |