diff options
Diffstat (limited to 'commands/account')
-rw-r--r-- | commands/account/next.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/account/next.go b/commands/account/next.go index 7e8541f4..88c4fd4a 100644 --- a/commands/account/next.go +++ b/commands/account/next.go @@ -48,9 +48,11 @@ func NextPrevMessage(aerc *widgets.Aerc, args []string) error { } for ; n > 0; n-- { if args[0] == "prev-message" || args[0] == "prev" { - acct.Messages().Prev() + acct.Store().Prev() + acct.Messages().Scroll() } else { - acct.Messages().Next() + acct.Store().Next() + acct.Messages().Scroll() } } return nil |