Set AnsweredFlag on successful reply

This commit is contained in:
Srivathsan Murali 2020-05-25 16:59:48 +02:00 committed by Drew DeVault
parent a31d184ba5
commit b1eb7ad18d
11 changed files with 179 additions and 0 deletions
commands/msg

View file

@ -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
}