diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 20a3fe10ab0edbac74995128421de61143a6d1e6..c5168db36418ea17b3df4c78bb781108952ddc66 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -302,7 +302,9 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown) // NOTE(Nico): rich replies always need a formatted_body! text.format = "org.matrix.custom.html"; - if (ChatPage::instance()->userSettings()->markdown()) + if ((ChatPage::instance()->userSettings()->markdown() && + useMarkdown == MarkdownOverride::NOT_SPECIFIED) || + useMarkdown == MarkdownOverride::ON) text.formatted_body = utils::getFormattedQuoteBody(related, utils::markdownToHtml(msg)) .toStdString();