commands/helper: remove duplicated method

This commit is contained in:
Reto Brunner 2020-05-09 11:50:30 +02:00 committed by Drew DeVault
parent c5fdefe7af
commit 381c1fc05f
6 changed files with 6 additions and 14 deletions
commands/msg

View file

@ -54,7 +54,7 @@ func (Read) Execute(aerc *widgets.Aerc, args []string) error {
// ignore commmand given, simply toggle all the read states
return submitToggle(aerc, store, h)
}
msgUids, err := h.messageUids()
msgUids, err := h.markedOrSelectedUids()
if err != nil {
return err
}