]> code.citadel.org Git - citadel.git/blobdiff - webcit/msg_renderers.c
* microshits RFC Violator will just show the tinnef part of a message you reply to...
[citadel.git] / webcit / msg_renderers.c
index d40d315fb9efa673f490a7d110cdbcab1b77363f..8d0010fb03e9b351e2c000f056a3da971674972b 100644 (file)
@@ -1066,8 +1066,9 @@ void tmplput_MIME_LoadData(StrBuf *Target, WCTemplputParams *TP)
        wc_mime_attachment *mime = (wc_mime_attachment*) CTX;
        wc_mime_attachment *att;
        
-       if ( (!strcasecmp(ChrPtr(mime->Disposition), "inline"))||
-            (!strcasecmp(ChrPtr(mime->Disposition), "attachment")) ) 
+       if (( (!strcasecmp(ChrPtr(mime->Disposition), "inline"))||
+             (!strcasecmp(ChrPtr(mime->Disposition), "attachment"))) && 
+           (strcasecmp(ChrPtr(mime->ContentType), "application/ms-tnef")!=0))
        {
                
                int n;
@@ -1448,7 +1449,7 @@ int bbsview_Cleanup(void **ViewSpecific)
        bbsview_struct *VS;
 
        VS = (bbsview_struct*)*ViewSpecific;
-       end_burst();
+       wDumpContent(1);
        FreeStrBuf(&VS->BBViewToolBar);
        FreeStrBuf(&VS->MessageDropdown);
        free(VS);