summaryrefslogtreecommitdiff
path: root/commands/msg/read.go
diff options
context:
space:
mode:
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 d27c482..dcb9657 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
}