Make lint

This commit is contained in:
Loren Burkholder 2021-01-20 17:47:57 -05:00
parent 91155bf803
commit 1d93570814
2 changed files with 8 additions and 6 deletions

View file

@ -256,7 +256,9 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
mtx::events::msg::Text text = {};
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();
// Don't send formatted_body, when we don't need to