Summary: | AEGYPTEN: detahced sig of mp/signed is shown as attachment in composer | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Marc Mutz <mutz> |
Component: | encryption | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | coward |
Priority: | NOR | ||
Version: | 1.4.6 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marc Mutz
2002-08-06 15:06:55 UTC
*** Bug 54505 has been marked as a duplicate of this bug. *** Subject: kdepim/kmail CVS commit by kloecker: Fix bug 46185: AEGYPTEN: detached sig of mp/signed is shown as attachment in composer CCMAIL: 46185-fixed@bugs.kde.org M +7 -1 kmcomposewin.cpp 1.706 --- kdepim/kmail/kmcomposewin.cpp #1.705:1.706 @@ -1317,5 +1317,11 @@ void KMComposeWin::setMsg(KMMessage* new msgPart = new KMMessagePart; mMsg->bodyPart(i, msgPart); + QCString mimeType = msgPart->typeStr().lower() + '/' + + msgPart->subtypeStr().lower(); + // don't add the detached signature as attachment when editting a + // PGP/MIME signed message + if( mimeType != "application/pgp-signature" ) { addAttach(msgPart); + } } } else{ |