diff --git a/autotests/actionstest.cpp b/autotests/actionstest.cpp index 9b9775bea..0ab7709b5 100644 --- a/autotests/actionstest.cpp +++ b/autotests/actionstest.cpp @@ -63,7 +63,7 @@ void ActionsTest::testActions_data() QTest::addColumn>("resultText"); QTest::addColumn>("type"); - QTest::newRow("shrug") << u"/shrug Hello"_s << std::make_optional(u"¯\\\\_(ツ)_/¯ Hello"_s) + QTest::newRow("shrug") << u"/shrug Hello"_s << std::make_optional(u"¯\\\\\\_(ツ)\\_/¯ Hello"_s) << std::make_optional(Quotient::RoomMessageEvent::MsgType::Text); QTest::newRow("lenny") << u"/lenny Hello"_s << std::make_optional(u"( ͡° ͜ʖ ͡°) Hello"_s) << std::make_optional(Quotient::RoomMessageEvent::MsgType::Text); QTest::newRow("tableflip") << u"/tableflip Hello"_s << std::make_optional(u"(╯°□°)╯︵ ┻━┻ Hello"_s) diff --git a/src/libneochat/models/actionsmodel.cpp b/src/libneochat/models/actionsmodel.cpp index 4c05473e1..f96f155aa 100644 --- a/src/libneochat/models/actionsmodel.cpp +++ b/src/libneochat/models/actionsmodel.cpp @@ -59,7 +59,7 @@ QList actions{ Action{ u"shrug"_s, [](const QString &message, NeoChatRoom *, ChatBarCache *) { - return u"¯\\\\_(ツ)_/¯ %1"_s.arg(message); + return u"¯\\\\\\_(ツ)\\_/¯ %1"_s.arg(message); }, Quotient::RoomMessageEvent::MsgType::Text, kli18n(""),