diff options
Diffstat (limited to 'commands/account/next.go')
-rw-r--r-- | commands/account/next.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/account/next.go b/commands/account/next.go index 224534b9..fff36bd1 100644 --- a/commands/account/next.go +++ b/commands/account/next.go @@ -20,16 +20,16 @@ func (NextPrevMsg) Aliases() []string { return []string{"next", "next-message", "prev", "prev-message"} } -func (NextPrevMsg) Complete(aerc *app.Aerc, args []string) []string { +func (NextPrevMsg) Complete(args []string) []string { return nil } -func (NextPrevMsg) Execute(aerc *app.Aerc, args []string) error { +func (NextPrevMsg) Execute(args []string) error { n, pct, err := ParseNextPrevMessage(args) if err != nil { return err } - acct := aerc.SelectedAccount() + acct := app.SelectedAccount() if acct == nil { return errors.New("No account selected") } |