about summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-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 3c8016e..bde9194 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