From f956d012a9331f2ef1b1b18e54ab21f3a96c74d9 Mon Sep 17 00:00:00 2001 From: "DeepBlueV7.X" Date: Sat, 23 Jan 2021 00:51:29 +0000 Subject: [PATCH] Remove useless parentheses --- src/timeline/InputBar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 2317a407..b31c1f76 100644 --- a/src/timeline/InputBar.cpp +++ b/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