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(),