Only skip part if inline, not info
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Nov 2008 18:59:52 +0000 (11:59 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Nov 2008 18:59:52 +0000 (11:59 -0700)
Also, disable another status related thing for now.

imp/message.php

index 4ebd76d..1280233 100644 (file)
@@ -668,7 +668,7 @@ foreach ($summary['info']['render'] as $mime_id => $type) {
     }
 
     $render_part = $imp_contents->renderMIMEPart($mime_id, $type);
-    if (empty($render_part['ids'])) {
+    if (($type == 'inline') && empty($render_part['ids'])) {
         /* This meant that nothing was rendered - allow this part to appear
          * in the attachment list instead. */
         continue;
@@ -687,7 +687,7 @@ foreach ($summary['info']['render'] as $mime_id => $type) {
 
     foreach ($render_part['status'] as $val) {
         // TODO: status msgs.
-        $tmp_status[] = $render_part['status']['text'];
+        //$tmp_status[] = $render_part['status']['text'];
     }
 
     $msgtext .= '<span class="mimePartInfo">' .