Set AnsweredFlag on successful reply
This commit is contained in:
parent
a31d184ba5
commit
b1eb7ad18d
11 changed files with 179 additions and 0 deletions
commands/msg
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue