summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-02-15 18:20:47 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-17 19:17:13 +0100
commit09303ca49ff7dd48aacb3bb1575a126d11def0f8 (patch)
treecc0a90d512446bf616a69ba0d8c7b3ef684d8aab
parentUse the class D-Bus member (diff)
downloadnheko-09303ca49ff7dd48aacb3bb1575a126d11def0f8.tar.xz
make lint
Diffstat (limited to '')
-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 c5168db3..3827c91a 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -303,8 +303,8 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
                 // NOTE(Nico): rich replies always need a formatted_body!
                 text.format = "org.matrix.custom.html";
                 if ((ChatPage::instance()->userSettings()->markdown() &&
-                        useMarkdown == MarkdownOverride::NOT_SPECIFIED) ||
-                       useMarkdown == MarkdownOverride::ON)
+                     useMarkdown == MarkdownOverride::NOT_SPECIFIED) ||
+                    useMarkdown == MarkdownOverride::ON)
                         text.formatted_body =
                           utils::getFormattedQuoteBody(related, utils::markdownToHtml(msg))
                             .toStdString();