aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r--commands/msg/archive.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index ebe63ff3..e1ff9a61 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -54,6 +54,7 @@ func (Archive) Execute(aerc *widgets.Aerc, args []string) error {
}
archiveDir := acct.AccountConfig().Archive
store.Next()
+ store.ClearVisualMark()
acct.Messages().Invalidate()
var uidMap map[string][]uint32
@@ -90,6 +91,7 @@ func (Archive) Execute(aerc *widgets.Aerc, args []string) error {
aerc.PushError(msg.Error.Error())
success = false
wg.Done()
+ store.Remark()
}
})
}