diff --git a/src/actionsmodel.cpp b/src/actionsmodel.cpp index bb47c9000..12391cf8a 100644 --- a/src/actionsmodel.cpp +++ b/src/actionsmodel.cpp @@ -99,6 +99,17 @@ QVector actions{ kli18n(""), kli18n("Sends the given emote colored as a rainbow"), }, + Action{ + QStringLiteral("plain"), + [](const QString &text, NeoChatRoom *room) { + room->postMessage(text, text.toHtmlEscaped(), RoomMessageEvent::MsgType::Text, {}, {}); + return QString(); + }, + false, + std::nullopt, + kli18n(""), + kli18n("Sends the given given message as plain text"), + }, Action{ QStringLiteral("spoiler"), [](const QString &text, NeoChatRoom *room) {