X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=46bab4344f7464f57f603040c13608e1a14459a9;hp=2689b2470c278b44662ac5fcaf7ad463165b1223;hb=38dacf009c4feb5d4820bbdd9222d7e7be067903;hpb=1c7fbbcc99693c0433f7b06b569ce90c19ac5e1b diff --git a/notmuch-reply.c b/notmuch-reply.c index 2689b247..46bab434 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -591,7 +591,7 @@ create_reply_message(void *ctx, from_addr); g_mime_object_set_header (GMIME_OBJECT (reply), "From", from_addr, NULL); - subject = notmuch_message_get_header (message, "subject"); + subject = g_mime_message_get_subject (mime_message); if (subject) { if (strncasecmp (subject, "Re:", 3)) subject = talloc_asprintf (ctx, "Re: %s", subject);