Make lint
This commit is contained in:
parent
91155bf803
commit
1d93570814
@ -256,7 +256,9 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
|
|||||||
mtx::events::msg::Text text = {};
|
mtx::events::msg::Text text = {};
|
||||||
text.body = msg.trimmed().toStdString();
|
text.body = msg.trimmed().toStdString();
|
||||||
|
|
||||||
if ((ChatPage::instance()->userSettings()->markdown() && (useMarkdown != MarkdownOverride::OFF)) || (useMarkdown == MarkdownOverride::ON)) {
|
if ((ChatPage::instance()->userSettings()->markdown() &&
|
||||||
|
(useMarkdown != MarkdownOverride::OFF)) ||
|
||||||
|
(useMarkdown == MarkdownOverride::ON)) {
|
||||||
text.formatted_body = utils::markdownToHtml(msg).toStdString();
|
text.formatted_body = utils::markdownToHtml(msg).toStdString();
|
||||||
|
|
||||||
// Don't send formatted_body, when we don't need to
|
// Don't send formatted_body, when we don't need to
|
||||||
|
Loading…
Reference in New Issue
Block a user