All parent Message-Ids are present in In-Reply-To already.
Also, RfC2822, section 3.6.4 discourages its generation.
+2009-04-28 13:03 +0200 Rocco Rutte <pdmef@gmx.net> (86334b572057)
+
+ * sendlib.c: Don't trim In-Reply-To with $edit_headers set
+
+ In case of a tagged reply to several messages, we want In-Reply-To
+ to contain all parent Message-Ids.
+
+2009-04-28 11:17 +0200 Rocco Rutte <pdmef@gmx.net> (2012f37b7d64)
+
+ * ChangeLog, imap/imap.c: Only sync changed messages back to hcache on
+ mailbox sync
+
2009-04-28 11:15 +0200 Rocco Rutte <pdmef@gmx.net> (c60ce9a3bae7)
* doc/manual.xml.head: For spam detection, mention $imap_headers.
}
else
mutt_add_to_reference_headers (env, curenv, NULL, NULL);
+
+ /* if there's more than entry in In-Reply-To (i.e. message has
+ multiple parents), don't generate a References: header as it's
+ discouraged by RfC2822, sect. 3.6.4 */
+ if (ctx->tagged > 0 && env->in_reply_to && env->in_reply_to->next)
+ mutt_free_list (&env->references);
}
static int