about summary refs log tree commit diff stats
path: root/commands/msg
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/delete.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go
index e74bf10..6eb35eb 100644
--- a/commands/msg/delete.go
+++ b/commands/msg/delete.go
@@ -48,6 +48,9 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error {
 			aerc.PushStatus("Messages deleted.", 10*time.Second)
 		case *types.Error:
 			aerc.PushError(" " + msg.Error.Error())
+		case *types.Unsupported:
+			// notmuch doesn't support it, we want the user to know
+			aerc.PushError(" error, unsupported for this worker")
 		}
 	})
 
tik.com> 2020-11-02 19:50:52 -0800 7159 - explicitly use 'return' everywhere' href='/akkartik/mu/commit/apps/raytracing/1.mu?h=hlt&id=a3f779158626b9ad3c81959b85cbfbbce17425fd'>a3f77915 ^
b94e94e0 ^
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