From 6c4ed3cfe2fe66a1e5f26c404ea90e048142db72 Mon Sep 17 00:00:00 2001 From: Srivathsan Murali Date: Tue, 26 May 2020 11:36:07 +0200 Subject: notmuch: undefined variable when setting reply flag --- worker/notmuch/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index 3fd2fb62..65295073 100644 --- a/worker/notmuch/message.go +++ b/worker/notmuch/message.go @@ -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 -- cgit