about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--commands/msg/reply.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 3c8016e..bde9194 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -181,7 +181,9 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
 		})
 
 		composer.OnClose(func(c *widgets.Composer) {
-			store.Answered([]uint32{msg.Uid}, c.Sent(), nil)
+			if c.Sent() {
+				store.Answered([]uint32{msg.Uid}, true, nil)
+			}
 		})
 
 		return nil
-07 12:06:32 +0200 travis: enable osx again' href='/danisanti/profani-tty/commit/.travis.yml?id=2c46a56e3ca3bd7bde97acca5ce486495d404339'>2c46a56e ^
3700c80a ^

2c46a56e ^





9cd5dfbd ^

bec71892 ^







3700c80a ^
9cd5dfbd ^

3700c80a ^
6c17a364 ^
3700c80a ^

b267b065 ^
3700c80a ^




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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56