aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/archive.go2
-rw-r--r--commands/msg/delete.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index 2935991c..d485fd3d 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -120,7 +120,7 @@ func (Archive) Execute(aerc *widgets.Aerc, args []string) error {
acct.Messages().Invalidate()
return
}
- lib.NewMessageStoreView(next, acct.UiConfig().AutoMarkRead,
+ lib.NewMessageStoreView(next, mv.MessageView().SeenFlagSet(),
store, aerc.Crypto, aerc.DecryptKeys,
func(view lib.MessageView, err error) {
if err != nil {
diff --git a/commands/msg/delete.go b/commands/msg/delete.go
index 57cef34d..a3d024a7 100644
--- a/commands/msg/delete.go
+++ b/commands/msg/delete.go
@@ -63,7 +63,7 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error {
acct.Messages().Invalidate()
return
}
- lib.NewMessageStoreView(next, acct.UiConfig().AutoMarkRead,
+ lib.NewMessageStoreView(next, mv.MessageView().SeenFlagSet(),
store, aerc.Crypto, aerc.DecryptKeys,
func(view lib.MessageView, err error) {
if err != nil {