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

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