diff options
author | Robin Jarry <robin@jarry.cc> | 2023-07-16 10:39:26 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-07-17 10:23:28 +0200 |
commit | 21f14c550a44a4b9207ca27b81976f92a7d26784 (patch) | |
tree | b840bbb5396d4dd26a9611ef508d0ad8382991df /lib/hooks/exec.go | |
parent | a608f0331a4874ce813d9ec3a215560e1653fafe (diff) | |
download | aerc-21f14c550a44a4b9207ca27b81976f92a7d26784.tar.gz |
send: return error when recipients list is empty
Avoid sending messages with no recipients.
Fixes: https://todo.sr.ht/~rjarry/aerc/182
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/hooks/exec.go')
0 files changed, 0 insertions, 0 deletions