fix: unescape Twitch emotes even more (#5786)

This commit is contained in:
nerix
2025-01-03 22:53:49 +01:00
committed by GitHub
parent 4f1a0ad5a6
commit 2212ec0bbb
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -426,8 +426,8 @@ QString TwitchEmotes::cleanUpEmoteCode(const QString &dirtyEmoteCode)
cleanCode.detach();
static QMap<QString, QString> emoteNameReplacements{
{"[oO](_|\\.)[oO]", "O_o"}, {"\\&gt\\;\\(", "&gt;("},
{"\\&lt\\;3", "&lt;3"}, {"\\:-?(o|O)", ":O"},
{"[oO](_|\\.)[oO]", "O_o"}, {"\\&gt\\;\\(", ">("},
{"\\&lt\\;3", "<3"}, {"\\:-?(o|O)", ":O"},
{"\\:-?(p|P)", ":P"}, {"\\:-?[\\\\/]", ":/"},
{"\\:-?[z|Z|\\|]", ":Z"}, {"\\:-?\\(", ":("},
{"\\:-?\\)", ":)"}, {"\\:-?D", ":D"},