From 55997e2451a279a7577b6a769810a0e0942ad1df Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Sun, 20 Jul 2008 19:10:46 +0000 Subject: Committing on behalf of Milan Crha 2008-07-09 Milan Crha ** Fix for bug #269152 * em-format-quote.c: (emfq_format_header): * em-format-html.c: (efh_format_headers): Use X-MimeOLE as Mailer header when there's nothing better available. svn path=/trunk/; revision=35781 --- mail/em-format-quote.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/em-format-quote.c') diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index f7427eb284..804eead5fd 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -343,7 +343,9 @@ emfq_format_header (EMFormat *emf, CamelStream *stream, CamelMedium *part, const } else if (!strcmp (name, "X-Evolution-Mailer")) { /* pseudo-header */ if (!(txt = camel_medium_get_header (part, "x-mailer"))) if (!(txt = camel_medium_get_header (part, "user-agent"))) - return; + if (!(txt = camel_medium_get_header (part, "x-newsreader"))) + if (!(txt = camel_medium_get_header (part, "x-mimeole"))) + return; txt = value = camel_header_format_ctext (txt, charset); -- cgit