Remove useless code from e22cbed.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 1 Oct 2016 22:11:56 +0000 (00:11 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 1 Oct 2016 22:11:56 +0000 (00:11 +0200)
References header was already being honored in drafts.

src/compose.c

index 5554b668008f9dbb585d9a83c86c65b2f7a95b01..2ddb5bf3b9088355471e299401e2525655b43173 100644 (file)
@@ -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);