aboutsummaryrefslogtreecommitdiff
path: root/commands/msg/delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r--commands/msg/delete.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go
index 082dbe3..ee3dd29 100644
--- a/commands/msg/delete.go
+++ b/commands/msg/delete.go
@@ -31,7 +31,8 @@ func DeleteMessage(aerc *widgets.Aerc, args []string) error {
if isMsgView {
aerc.RemoveTab(widget)
}
- acct.Messages().Next()
+ store.Next()
+ acct.Messages().Scroll()
store.Delete([]uint32{msg.Uid}, func(msg types.WorkerMessage) {
switch msg := msg.(type) {
case *types.Done: