From 44ec93f0a0564b9a3341980109fabf9d69aedc1b Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 25 Feb 2023 10:34:53 +0000 Subject: [PATCH] Change plain text for a spolier from /rainbow to /spoiler. --- src/models/actionsmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/actionsmodel.cpp b/src/models/actionsmodel.cpp index e1accc5ed..4d32c2d74 100644 --- a/src/models/actionsmodel.cpp +++ b/src/models/actionsmodel.cpp @@ -115,7 +115,7 @@ QVector actions{ QStringLiteral("spoiler"), [](const QString &text, NeoChatRoom *room) { // Ideally, we would just return rainbowText and let that do the rest, but the colors don't survive markdownToHTML. - room->postMessage(QStringLiteral("/rainbow %1").arg(text), + room->postMessage(QStringLiteral("/spoiler %1").arg(text), QStringLiteral("%1").arg(text), RoomMessageEvent::MsgType::Text, room->chatBoxReplyId(),