about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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