talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 8eb1faa9d4cbed5be056891e0bc263a821925282
parent e22cbed1fc5166845341d2caedd8a9fd4eb054c6
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun,  2 Oct 2016 00:11:56 +0200

Remove useless code from e22cbed.

References header was already being honored in drafts.

Diffstat:
Msrc/compose.c | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -2974,16 +2974,6 @@ static gint compose_parse_header(Compose *compose, MsgInfo *msginfo) if (msginfo->msgid && *msginfo->msgid) compose->msgid = g_strdup(msginfo->msgid); - - if (msginfo->references != NULL) { - GString *refs = g_string_new(NULL); - GSList *r = msginfo->references; - while (r != NULL) { - g_string_append_printf(refs, "<%s>%s", (gchar *)r->data, - (g_slist_next(r) ? "\n\t" : "")); - r = g_slist_next(r); - } - } } else { if (msginfo->msgid && *msginfo->msgid) compose->inreplyto = g_strdup(msginfo->msgid);