mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Remove useless parentheses
This commit is contained in:
parent
06f6a5bcca
commit
f956d012a9
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
|
||||||
text.body = msg.trimmed().toStdString();
|
text.body = msg.trimmed().toStdString();
|
||||||
|
|
||||||
if ((ChatPage::instance()->userSettings()->markdown() &&
|
if ((ChatPage::instance()->userSettings()->markdown() &&
|
||||||
(useMarkdown == MarkdownOverride::NOT_SPECIFIED)) ||
|
useMarkdown == MarkdownOverride::NOT_SPECIFIED) ||
|
||||||
(useMarkdown == MarkdownOverride::ON)) {
|
useMarkdown == MarkdownOverride::ON) {
|
||||||
text.formatted_body = utils::markdownToHtml(msg).toStdString();
|
text.formatted_body = utils::markdownToHtml(msg).toStdString();
|
||||||
|
|
||||||
// Don't send formatted_body, when we don't need to
|
// Don't send formatted_body, when we don't need to
|
||||||
|
|
Loading…
Reference in a new issue