about summary refs log tree commit diff stats
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/view.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/account/view.go b/commands/account/view.go
index af39360..b287406 100644
--- a/commands/account/view.go
+++ b/commands/account/view.go
@@ -30,7 +30,8 @@ func (ViewMessage) Execute(aerc *widgets.Aerc, args []string) error {
 	}
 	store := acct.Messages().Store()
 	msg := acct.Messages().Selected()
-	if msg == nil {
+	_, deleted := store.Deleted[msg.Uid]
+	if msg == nil || deleted {
 		return nil
 	}
 	viewer := widgets.NewMessageViewer(acct, aerc.Config(), store, msg)
>
df1d1ef ^






37be25f ^
df1d1ef ^



c896e6b ^


df1d1ef ^
37be25f ^

df1d1ef ^





4f0847b ^
df1d1ef ^
37be25f ^
df1d1ef ^


37be25f ^

df1d1ef ^



bce5265 ^



df1d1ef ^
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
57
58
59
60
61
62
63
64
65
66