about summary refs log tree commit diff stats
path: root/worker
diff options
context:
space:
mode:
authorSrivathsan Murali <sri@vathsan.com>2020-05-26 11:36:07 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-26 11:18:11 -0400
commit6c4ed3cfe2fe66a1e5f26c404ea90e048142db72 (patch)
treeee81255485234137a5902d87d5960ac06618b341 /worker
parentb1eb7ad18d2e0bbeecaf61a58825bbc794ceb40c (diff)
downloadaerc-6c4ed3cfe2fe66a1e5f26c404ea90e048142db72.tar.gz
notmuch: undefined variable when setting reply flag
Diffstat (limited to 'worker')
-rw-r--r--worker/notmuch/message.go2
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