diff options
author | Kevin Kuehler <kkuehler@brave.com> | 2019-06-10 22:05:55 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-11 09:34:36 -0400 |
commit | 32f970e0531a0811392d2836773870acf649cf26 (patch) | |
tree | 2e65f2a122b6235c9e858ba4af36481475292747 /commands/msg/archive.go | |
parent | d1df7103280ef488434b103e5e9e3129c407e5b6 (diff) | |
download | aerc-32f970e0531a0811392d2836773870acf649cf26.tar.gz |
Move select functionality from msglist to msgstore
Remove msglist Next and Prev commands Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r-- | commands/msg/archive.go | 3 |
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: |