]> granicus.if.org Git - neomutt/commit
Fix postpone/resume to not remove a Mail-Followup-To header (closes #3070)
authorKevin McCarthy <kevin@8t8.us>
Fri, 26 Apr 2013 19:10:46 +0000 (12:10 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 26 Apr 2013 19:10:46 +0000 (12:10 -0700)
commitf75edfb5b8aa07881e75e69b5ba0f5a2e67512f9
treecbd49140168810ef099cd8e8d1ca57c5b9b33634
parent16a01538a8eff728307735548c2d9a6c7af7c5f7
Fix postpone/resume to not remove a Mail-Followup-To header  (closes #3070)

This solution changes mutt_prepare_template() to check whether the
message_id field is NULL to decide whether to wipe the message-id and
mail-followup-to headers when instantiating the message.

If we are resending a message, we don't want the previous message-id
and mail-followup-to headers.  If we are resuming a postponed message,
however, we want to keep the mail-followup-to header if any was set
before the postpone.
postpone.c