about summary refs log tree commit diff stats
path: root/commands/msg
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/reply.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 8e0feef..28ce245 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -157,6 +157,10 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
 			tab.Content.Invalidate()
 		})
 
+		composer.OnClose(func(c *widgets.Composer) {
+			store.Answered([]uint32{msg.Uid}, c.Sent(), nil)
+		})
+
 		return nil
 	}