From a9edef00dd65010d4e08517d861ea55992bd863d Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Fri, 1 Jul 2005 03:29:23 +0000 Subject: implement extraction of inline signed/encrypted pgp parts and package them 2005-06-24 Matt Brown * em-inline-filter.c: implement extraction of inline signed/encrypted pgp parts and package them into x-inlinepgp-signed/x-inline-pgp-encrypted parts. * em-format-html.c: Formatters to verify/decrypt and then display the parts generated by the inline filter. svn path=/trunk/; revision=29603 --- mail/em-format.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/em-format.c') diff --git a/mail/em-format.c b/mail/em-format.c index dd7cf1e084..10965148c0 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -914,6 +914,8 @@ int em_format_is_attachment(EMFormat *emf, CamelMimePart *part) return !(camel_content_type_is (dw->mime_type, "multipart", "*") || camel_content_type_is(dw->mime_type, "application", "x-pkcs7-mime") || camel_content_type_is(dw->mime_type, "application", "pkcs7-mime") + || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-signed") + || camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-encrypted") || (camel_content_type_is (dw->mime_type, "text", "*") && camel_mime_part_get_filename(part) == NULL)); } -- cgit v1.2.3