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
2014-12-12 18:07:30 -0800 403 - 'function' is more clear than 'def'' href='/akkartik/mu/commit/generic.mu?h=hlt&id=0ca35d02df358b73f4e2c6c665226d2d56c61fdd'>0ca35d02 ^
20379e78 ^


f184c95e ^
d4b4d018 ^


f184c95e ^


0ca35d02 ^
d4b4d018 ^
7d2c2d55 ^
4b62edd8 ^
7d2c2d55 ^
f184c95e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30