mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Parse markdown overrides during replies
I apparently missed this when I originally added the overrides.
This commit is contained in:
parent
029ae18a07
commit
c74e68c945
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue