Commit 488aea5b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix reply as html

parent 935a86c1
Pipeline #21573 passed with stage
in 16 minutes and 58 seconds
...@@ -1080,6 +1080,7 @@ void TemplateParserJob::slotExtractInfoDone(const TemplateParserExtractHtmlInfoR ...@@ -1080,6 +1080,7 @@ void TemplateParserJob::slotExtractInfoDone(const TemplateParserExtractHtmlInfoR
const KMime::Content *content = d->mOrigMsg->mainBodyPart("text/html"); const KMime::Content *content = d->mOrigMsg->mainBodyPart("text/html");
if (d->mQuotes == ReplyAsPlain if (d->mQuotes == ReplyAsPlain
|| (!d->mReplyAsHtml && TemplateParserSettings::self()->replyUsingVisualFormat()) || (!d->mReplyAsHtml && TemplateParserSettings::self()->replyUsingVisualFormat())
|| !TemplateParserSettings::self()->replyUsingVisualFormat()
|| (!content || !content->hasContent())) { || (!content || !content->hasContent())) {
htmlBody.clear(); htmlBody.clear();
} else { } else {
......
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