summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-01-23 00:51:29 +0000
committerGitHub <noreply@github.com>2021-01-23 00:51:29 +0000
commitf956d012a9331f2ef1b1b18e54ab21f3a96c74d9 (patch)
tree36f2d128113ba64cd7f580f6e39180241f5d3399 /src/timeline
parentClarify how markdown is determined (diff)
downloadnheko-f956d012a9331f2ef1b1b18e54ab21f3a96c74d9.tar.xz
Remove useless parentheses
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp4
1 files 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