Remove useless parentheses

pull/393/head
DeepBlueV7.X 4 years ago committed by GitHub
parent 06f6a5bcca
commit f956d012a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/timeline/InputBar.cpp

@ -257,8 +257,8 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
text.body = msg.trimmed().toStdString();
if ((ChatPage::instance()->userSettings()->markdown() &&
(useMarkdown == MarkdownOverride::NOT_SPECIFIED)) ||
(useMarkdown == MarkdownOverride::ON)) {
useMarkdown == MarkdownOverride::NOT_SPECIFIED) ||
useMarkdown == MarkdownOverride::ON) {
text.formatted_body = utils::markdownToHtml(msg).toStdString();
// Don't send formatted_body, when we don't need to

Loading…
Cancel
Save