Fixed degraded dirty emote code escaping (#3010)

This commit is contained in:
Paweł
2021-07-17 12:35:43 +02:00
committed by GitHub
parent 6022cd86eb
commit a509c7514c
5 changed files with 17 additions and 42 deletions
@@ -111,7 +111,7 @@ void ImageLayoutElement::addCopyTextToString(QString &str, int from,
if (emoteElement)
{
str += emoteElement->getEmote()->getCopyString();
str = TwitchEmotes::cleanUpEmoteCode(EmoteName{str});
str = TwitchEmotes::cleanUpEmoteCode(str);
if (this->hasTrailingSpace())
{
str += " ";