summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 18:47:36 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 21:12:07 -0500
commit06f6a5bcca60d992e48d8ea10e2e9fa52f4e086a (patch)
tree102101a75a944942d098c87ca1817e2030c7e850 /src/timeline/InputBar.cpp
parentMake lint (diff)
downloadnheko-06f6a5bcca60d992e48d8ea10e2e9fa52f4e086a.tar.xz
Clarify how markdown is determined
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 0e35cf64..2317a407 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -257,7 +257,7 @@ InputBar::message(QString msg, MarkdownOverride useMarkdown)
         text.body                   = msg.trimmed().toStdString();
 
         if ((ChatPage::instance()->userSettings()->markdown() &&
-             (useMarkdown != MarkdownOverride::OFF)) ||
+             (useMarkdown == MarkdownOverride::NOT_SPECIFIED)) ||
             (useMarkdown == MarkdownOverride::ON)) {
                 text.formatted_body = utils::markdownToHtml(msg).toStdString();