From 6695db83ca9bafb4dbecff6fedc2b5cd775024f3 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 5 Sep 2008 10:55:52 +0000 Subject: Allow application/pgp parts to be displayed (#1484753) --- program/include/rcube_message.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'program/include/rcube_message.php') diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index 329c39049..c18db4bdd 100644 --- a/program/include/rcube_message.php +++ b/program/include/rcube_message.php @@ -230,6 +230,11 @@ class rcube_message $structure->type = 'content'; $this->parts[] = &$structure; } + // the same for pgp signed messages + else if ($message_ctype_primary == 'application' && $message_ctype_secondary == 'pgp' && !$recursive) { + $structure->type = 'content'; + $this->parts[] = &$structure; + } // message contains alternative parts else if ($message_ctype_primary == 'multipart' && ($message_ctype_secondary == 'alternative') && is_array($structure->parts)) { // get html/plaintext parts -- cgit v1.2.3