notmuch: undefined variable when setting reply flag

This commit is contained in:
Srivathsan Murali 2020-05-26 11:36:07 +02:00 committed by Drew DeVault
parent b1eb7ad18d
commit 6c4ed3cfe2
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func (m *Message) MarkAnswered(answered bool) error {
return nil
}
if haveAnswered {
if haveReplied {
err := m.RemoveTag("replied")
if err != nil {
return err