thomascube
2008-09-05 6695db83ca9bafb4dbecff6fedc2b5cd775024f3
Allow application/pgp parts to be displayed (#1484753)

2 files modified
6 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcube_message.php 5 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -8,6 +8,7 @@
- Applied mime_decode patch by David Lublink
- Allowed max. attachment size now indicated in compose screen (#1485030)
- Also capture backspace key in list mode (#1484566)
- Allow application/pgp parts to be displayed (#1484753)
2008/09/04 (alec)
----------
program/include/rcube_message.php
@@ -230,6 +230,11 @@
      $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