mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Ensure twitch emote names are escaped (#2543)
This commit is contained in:
parent
8f5adc0911
commit
a893cdaebe
|
@ -71,7 +71,7 @@
|
|||
- Bugfix: Fixed previous link info not updating after `Link information` setting is enabled (#2054)
|
||||
- Bugfix: Fix Tab key not working in the Ctrl+K Quick Switcher (#2065)
|
||||
- Bugfix: Fix bug preventing moderator actions when viewing a user card from the search window (#1089)
|
||||
- Bugfix: Fix `:` emote completion menu ignoring emote capitalization (#1962)
|
||||
- Bugfix: Fix `:` emote completion menu ignoring emote capitalization and inconsistent emote names. (#1962, #2543)
|
||||
- Bugfix: Fix a bug that caused `Ignore page` to fall into an infinity loop with an empty pattern and regex enabled (#2125)
|
||||
- Bugfix: Fix a crash caused by FrankerFaceZ responding with invalid emote links (#2191)
|
||||
- Bugfix: Fix a freeze caused by ignored & replaced phrases followed by Twitch Emotes (#2231)
|
||||
|
|
|
@ -75,7 +75,7 @@ EmotePtr TwitchEmotes::getOrCreateEmote(const EmoteId &id,
|
|||
if (!shared)
|
||||
{
|
||||
(*cache)[id] = shared = std::make_shared<Emote>(Emote{
|
||||
EmoteName{name},
|
||||
EmoteName{TwitchEmotes::cleanUpEmoteCode(EmoteName{name})},
|
||||
ImageSet{
|
||||
Image::fromUrl(getEmoteLink(id, "1.0"), 1),
|
||||
Image::fromUrl(getEmoteLink(id, "2.0"), 0.5),
|
||||
|
|
Loading…
Reference in a new issue