diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-30 16:55:38 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-30 16:55:38 +0000 |
commit | 284a9737fd0fa1044f430bbf3d6f0daedc25c6f0 (patch) | |
tree | 8de429725158465dad19a538c1d2686ba27c40e0 | |
parent | 88797adadc1444dd0b69b5802a34c4aa7cab25d0 (diff) |
If messages have no References header, fall back to using
In-Reply-To when constructing a reply's references header. This may
not be strictly according to the book, but looks like a reasonable
suggestion (which came from Vincent Lefebvre).
-rw-r--r-- | send.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -542,9 +542,12 @@ int mutt_fetch_recips (ENVELOPE *out, ENVELOPE *in, int flags) LIST *mutt_make_references(ENVELOPE *e) { - LIST *t, *l; - - l = mutt_copy_list(e->references); + LIST *t = NULL, *l = NULL; + + if (e->references) + l = mutt_copy_list (e->references); + else + l = mutt_copy_list (e->in_reply_to); if(e->message_id) { |