about summary refs log tree commit diff stats
path: root/commands/msg/delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/delete.go')
-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")
 		}
 	})