diff options
author | Jason Cox <dev@jasoncarloscox.com> | 2022-10-17 13:19:33 -0400 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-17 22:41:00 +0200 |
commit | 7647dfb8b47edbcb8080bd0327529383142ec888 (patch) | |
tree | 80cdd42050598815e0fa872745def3cc7d2bea80 /lib/ui/fill.go | |
parent | 8ffcd3e5adfa008f33989d4589a47ae1cd1a5e68 (diff) | |
download | aerc-7647dfb8b47edbcb8080bd0327529383142ec888.tar.gz |
compose: warn before sending without attachment
Prevent the embarrassing forgotten attachment scenario by warning the
user before sending a message that may need an attachment but does not
have one. Whether a message needs an attachment is determined by testing
a configurable regex against the message body.
Signed-off-by: Jason Cox <dev@jasoncarloscox.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/fill.go')
0 files changed, 0 insertions, 0 deletions