diff options
Diffstat (limited to 'commands/msg/reply.go')
-rw-r--r-- | commands/msg/reply.go | 4 |
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 } |