From: Wilfried Göesgens Date: Sun, 8 Nov 2009 11:24:03 +0000 (+0000) Subject: * microshits RFC Violator will just show the tinnef part of a message you reply to... X-Git-Tag: v7.86~652 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=f29d9df8db3020ff05685b5730874a4f55666cb4 * microshits RFC Violator will just show the tinnef part of a message you reply to, so you'll get phonecalls why you send 'em back their mail. -> ignore tinnefs while replying to mails --- diff --git a/webcit/msg_renderers.c b/webcit/msg_renderers.c index 7fd334977..8d0010fb0 100644 --- a/webcit/msg_renderers.c +++ b/webcit/msg_renderers.c @@ -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;