diff --git a/CHANGELOG.md b/CHANGELOG.md index c70dd05b0..2a0e88638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ - Bugfix: Fixed the reconnection backoff accidentally resetting when thrown out of certain IRC servers. (#3328) - Bugfix: Fixed underlying text from disabled emotes not being colorized properly. (#3333) - Bugfix: Fixed IRC ACTION messages (/me) not being colorized properly. (#3341) +- Bugfix: Fixed the first usercard being broken in `/mods` and `/vips` (#3349) - Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327) - Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103) - Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038) diff --git a/src/providers/twitch/IrcMessageHandler.cpp b/src/providers/twitch/IrcMessageHandler.cpp index 6c427dad6..04a54aad5 100644 --- a/src/providers/twitch/IrcMessageHandler.cpp +++ b/src/providers/twitch/IrcMessageHandler.cpp @@ -855,8 +855,11 @@ void IrcMessageHandler::handleNoticeMessage(Communi::IrcNoticeMessage *message) "IrcMessageHandler::handleNoticeMessage. Twitch specific " "functionality called in non twitch channel"); - TwitchMessageBuilder::modsOrVipsSystemMessage( - msgParts.at(0), msgParts.at(1).split(", "), tc, &builder); + auto users = msgParts.at(1) + .mid(1) // there is a space before the first user + .split(", "); + TwitchMessageBuilder::modsOrVipsSystemMessage(msgParts.at(0), users, + tc, &builder); channel->addMessage(builder.release()); } else