commit 984879dd7b329a7f9a7aca99357ab566dbe0b087
parent d2315c480a83c8d54a77e4f7e588d66a12541c87
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 31 Oct 2026 18:52:07 +1100
tweak sent-save-to hook doc for clarity
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/sup/modes/edit_message_mode.rb b/lib/sup/modes/edit_message_mode.rb
@@ -81,13 +81,13 @@ Return value:
EOS
HookManager.register "sent-save-to", <<EOS
-Configures where to save sent mail to. If this hook doesn't exist,
-the global sent setting will be used (possibly defaulting to sup://sent)
+Selects where to save sent mail to. If this hook doesn't exist, the
+"sent_source" config will be used (possibly defaulting to sup://sent).
Variables:
- message: RMail::Message instance of the mail to send.
- account: Account instance matching the From address
+ message: RMail::Message instance of the mail which has been sent.
+ account: Account instance matching the From address.
Return value:
- Source to save mail to, nil to use default
+ Source to save the sent mail to, or nil to use the default.
EOS
attr_reader :status