notmuch: undefined variable when setting reply flag
This commit is contained in:
parent
b1eb7ad18d
commit
6c4ed3cfe2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue