From f29d9df8db3020ff05685b5730874a4f55666cb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 8 Nov 2009 11:24:03 +0000 Subject: [PATCH] * 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 --- webcit/msg_renderers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.30.2