From: Markus Montkowski Date: Mon, 7 Jul 2025 09:52:06 +0000 (+0200) Subject: Attachment processing fix X-Git-Tag: gpgol-2.6.3~1 X-Git-Url: https://git.gnupg.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568d1218df96b29325c9a2b406d90d121a1a4472;p=gpgol.git Attachment processing fix * src/mimedataprovider.cpp: set is_text_attachment if not body_seen -- Fix check for body_seen to set is_text_attachment flag only if we haven't seen a body yet GnuPG-Bug-Id: 7714 --- diff --git a/src/mimedataprovider.cpp b/src/mimedataprovider.cpp index 077c994..5e6e266 100644 --- a/src/mimedataprovider.cpp +++ b/src/mimedataprovider.cpp @@ -363,7 +363,7 @@ t2body (MimeDataProvider *provider, rfc822parse_t msg) if (s && strcmp (s, "inline")) not_inline_text = 1; */ - if (ctx->body_seen) + if (!ctx->body_seen) { /* Some MUA's like kontact e3.5 send the body as an inline text attachment. So if we have not