Remove useless parentheses

This commit is contained in:
DeepBlueV7.X 2021-01-23 00:51:29 +00:00 committed by GitHub
parent 06f6a5bcca
commit f956d012a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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