aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/read.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/read.go
parentc5fdefe7afdc69fc4eefd1ccd702a60b39fc6cb9 (diff)
downloadaerc-381c1fc05f6de95accbb520769d0cc9196955cf4.tar.gz
commands/helper: remove duplicated method
Diffstat (limited to 'commands/msg/read.go')
-rw-r--r--commands/msg/read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/read.go b/commands/msg/read.go
index d27c482e..dcb96575 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -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
}