aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/delete.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-05-09 11:50:30 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-11 09:47:33 -0400
commit381c1fc05f6de95accbb520769d0cc9196955cf4 (patch)
tree562c004d3153959995aaeb85660f4ead9b4e15f5 /commands/msg/delete.go
parentc5fdefe7afdc69fc4eefd1ccd702a60b39fc6cb9 (diff)
downloadaerc-381c1fc05f6de95accbb520769d0cc9196955cf4.tar.gz
commands/helper: remove duplicated method
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r--commands/msg/delete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go
index 0d2c1c50..313e3ea9 100644
--- a/commands/msg/delete.go
+++ b/commands/msg/delete.go
@@ -34,7 +34,7 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error {
if err != nil {
return err
}
- uids, err := h.uids()
+ uids, err := h.markedOrSelectedUids()
if err != nil {
return err
}