From 8eb1faa9d4cbed5be056891e0bc263a821925282 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sun, 2 Oct 2016 00:11:56 +0200 Subject: [PATCH] Remove useless code from e22cbed. References header was already being honored in drafts. --- src/compose.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/compose.c b/src/compose.c index 5554b6680..2ddb5bf3b 100644 --- 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); -- 2.25.1