diff options
author | Srivathsan Murali <sri@vathsan.com> | 2020-05-26 11:36:07 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-26 11:18:11 -0400 |
commit | 6c4ed3cfe2fe66a1e5f26c404ea90e048142db72 (patch) | |
tree | ee81255485234137a5902d87d5960ac06618b341 /worker/notmuch/message.go | |
parent | b1eb7ad18d2e0bbeecaf61a58825bbc794ceb40c (diff) | |
download | aerc-6c4ed3cfe2fe66a1e5f26c404ea90e048142db72.tar.gz |
notmuch: undefined variable when setting reply flag
Diffstat (limited to 'worker/notmuch/message.go')
-rw-r--r-- | worker/notmuch/message.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index 3fd2fb6..6529507 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 |