mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixed the first link being broken in /mods
and /vips
(#3349)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
85f6795f70
commit
6b3a420e42
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue