diff options
author | Moritz Poldrack <git@moritz.sh> | 2024-01-22 18:28:17 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-01-25 21:55:23 +0100 |
commit | 0e592b28802fe7d972dac2b4958284b9eaf274a0 (patch) | |
tree | 8830a87ea58cdd7b65e07548e71e06195de4ae05 /config | |
parent | 1980744f7bf9e147abf649d37a2fa7dddd4e7254 (diff) | |
download | aerc-0e592b28802fe7d972dac2b4958284b9eaf274a0.tar.gz |
hook: add mail-sent hook
Add a hook to trigger when a message is sent.
References: https://todo.sr.ht/~rjarry/aerc/136
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/hooks.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/hooks.go b/config/hooks.go index ed81296d..bc04ac75 100644 --- a/config/hooks.go +++ b/config/hooks.go @@ -11,6 +11,7 @@ type HooksConfig struct { MailReceived string `ini:"mail-received"` MailDeleted string `ini:"mail-deleted"` MailAdded string `ini:"mail-added"` + MailSent string `ini:"mail-sent"` } var Hooks HooksConfig |