Commit dfe760c5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It was fixed in kmime

parent f9917f65
......@@ -353,7 +353,7 @@ QString GrantleeHeaderFormatter::format(const QString &absolutePath, const Grant
headerObject.insert(QStringLiteral("readOnlyMessage"), style->readOnlyMessage());
const QString attachmentHtml = style->attachmentHtml();
const bool messageHasAttachment = KMime::hasAttachment(message) || !attachmentHtml.isEmpty();
const bool messageHasAttachment = KMime::hasAttachment(message);// || !attachmentHtml.isEmpty();
headerObject.insert(QStringLiteral("hasAttachment"), messageHasAttachment);
headerObject.insert(QStringLiteral("attachmentHtml"), attachmentHtml);
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