]> granicus.if.org Git - mutt/commitdiff
send2-hook should also be executed after the first time the message
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 11 Jan 2005 11:09:15 +0000 (11:09 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 11 Jan 2005 11:09:15 +0000 (11:09 +0000)
is edited by the user.

send.c

diff --git a/send.c b/send.c
index 0cde51289f1dec18a4770b4a976136bbdb2e46a0..2ec304c081896cde582919eacb0541bda95e8a95 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1377,6 +1377,8 @@ ci_send_message (int flags,               /* send mode */
       }
       else
        mutt_edit_file (Editor, msg->content->filename);
+      
+      mutt_message_hook (NULL, msg, M_SEND2HOOK);
     }
 
     if (! (flags & (SENDPOSTPONED | SENDFORWARD | SENDKEY | SENDRESEND)))