[GnuPG Logo]    
· English ·        
Links  
   
 
authorMarkus Montkowski <[email protected]>
Mon, 7 Jul 2025 09:52:06 +0000 (11:52 +0200)
committerMarkus Montkowski <[email protected]>
Mon, 7 Jul 2025 09:52:06 +0000 (11:52 +0200)
* 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

src/mimedataprovider.cpp

index 077c994ec54da537cf77ac0aa937d45bb3f0d016..5e6e26673dd242cbaa669bde3e3f63c3c066e7df 100644 (file)
@@ -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
 
   
 
 
  Technical resources for this
service are sponsered by
 
  g10 Code GmbH  

Valid XHTML 1.0!     Peace!     Valid CSS!