summary refs log tree commit diff stats
path: root/commands/msg/archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r--commands/msg/archive.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index da4c421..4fe7330 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -34,7 +34,8 @@ func Archive(aerc *widgets.Aerc, args []string) error {
 	msg := widget.SelectedMessage()
 	store := widget.Store()
 	archiveDir := acct.AccountConfig().Archive
-	acct.Messages().Next()
+	store.Next()
+	acct.Messages().Scroll()
 
 	switch args[1] {
 	case ARCHIVE_MONTH: