about summary refs log tree commit diff stats
path: root/commands/account/delete-message.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/delete-message.go')
-rw-r--r--commands/account/delete-message.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/account/delete-message.go b/commands/account/delete-message.go
index 2ad470b..d6b669e 100644
--- a/commands/account/delete-message.go
+++ b/commands/account/delete-message.go
@@ -24,6 +24,7 @@ func DeleteMessage(aerc *widgets.Aerc, args []string) error {
 	}
 	store := acct.Messages().Store()
 	msg := acct.Messages().Selected()
+	acct.Messages().Next()
 	store.Delete([]uint32{msg.Uid}, func(msg types.WorkerMessage) {
 		switch msg := msg.(type) {
 		case *types.Done: