summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 0fa5cff4..3a14790c 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -651,9 +651,9 @@ InputBar::rainfall(const QString &body, bool rainbowify)
 }
 
 void
-InputBar::customMsgtype(const QString &msgtype, const QString &body, bool rainbowify)
+InputBar::customMsgtype(const QString &msgtype, const QString &body)
 {
-    auto html = utils::markdownToHtml(body, rainbowify);
+    auto html = utils::markdownToHtml(body);
 
     mtx::events::msg::Unknown msg;
     msg.msgtype = msgtype.toStdString();
@@ -946,7 +946,7 @@ InputBar::command(const QString &command, QString args)
     } else if (command == QLatin1String("rainbowrain")) {
         rainfall(args, true);
     } else if (command == QLatin1String("msgtype")) {
-        customMsgtype(args.section(' ', 0, 0), args.section(' ', 1, -1), false);
+        customMsgtype(args.section(' ', 0, 0), args.section(' ', 1, -1));
     } else if (command == QLatin1String("goto")) {
         // Goto has three different modes:
         // 1 - Going directly to a given event ID