aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/reply.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/reply.go')
-rw-r--r--commands/msg/reply.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 3c8016ef..bde9194e 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -181,7 +181,9 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
})
composer.OnClose(func(c *widgets.Composer) {
- store.Answered([]uint32{msg.Uid}, c.Sent(), nil)
+ if c.Sent() {
+ store.Answered([]uint32{msg.Uid}, true, nil)
+ }
})
return nil