Commit 3ab9029f authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 431153 - Crash in...

Fix Bug 431153 - Crash in MessageComposer::MessageFactoryNG::createForwardDigestMIME() when trying to forward a group of emails

FIXED-IN: 5.16.2
BUG: 431153
parent 92b5dda0
Pipeline #46439 passed with stage
in 28 minutes and 26 seconds
......@@ -731,7 +731,7 @@ QPair< KMime::Message::Ptr, KMime::Content * > MessageFactoryNG::createForwardDi
part->contentType(false)->setCharset(fMsg->contentType()->charset());
part->contentID()->setIdentifier(fMsg->contentID()->identifier());
part->contentDescription()->fromUnicodeString(fMsg->contentDescription()->asUnicodeString(), "utf8");
part->contentDisposition(false)->setParameter(QStringLiteral("name"), i18n("forwarded message"));
part->contentDisposition()->setParameter(QStringLiteral("name"), i18n("forwarded message"));
part->fromUnicodeString(QString::fromLatin1(fMsg->encodedContent()));
part->assemble();
MessageComposer::Util::addLinkInformation(msg, item.id(), Akonadi::MessageStatus::statusForwarded());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment