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

Fix reply message + remove debug

parent 629f735e
Pipeline #21379 passed with stage
in 18 minutes and 36 seconds
......@@ -1078,9 +1078,7 @@ void TemplateParserJob::slotExtractInfoDone(const TemplateParserExtractHtmlInfoR
// there is no use of FORCED command but a configure setting has ReplyUsingHtml disabled,
// OR the original mail has no HTML part.
const KMime::Content *content = d->mOrigMsg->mainBodyPart("text/html");
qDebug() << " d->mReplyAsHtml" << d->mReplyAsHtml << " TemplateParserSettings::self()->replyUsingVisualFormat()" << TemplateParserSettings::self()->replyUsingVisualFormat();
if (d->mQuotes == ReplyAsPlain
|| (d->mQuotes != ReplyAsHtml)
|| (!d->mReplyAsHtml && TemplateParserSettings::self()->replyUsingVisualFormat())
|| (!content || !content->hasContent())) {
htmlBody.clear();
......
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