Revisement 3 of Fixing the text emotes

Fix of a fix of a fix of a fix.
This commit is contained in:
Lajamerr Mittesdine 2018-06-04 18:29:51 -04:00 committed by fourtf
parent b2d049c782
commit 819812c458

View file

@ -551,10 +551,10 @@ util::EmoteData EmoteManager::getTwitchEmoteById(long id, const QString &emoteNa
static QMap<QString, QString> emoteNameReplacements{
{"[oO](_|\\.)[oO]", "O_o"}, {"\\&gt\\;\\(", "&gt;("}, {"\\&lt\\;3", "&lt;3"},
{"\\:-?(o|O)", ":-O"}, {"\\:-?(p|P)", ":-P"}, {"\\:-?[\\\\/]", ":-/"},
{"\\:-?[z|Z|\\|]", ":-Z"}, {"\\:-?\\(", ":-("}, {"\\:-?\\)", ":-)"},
{"\\:-?D", ":-D"}, {"\\;-?(p|P)", ";-P"}, {"\\;-?\\)", ";-)"},
{"R-?\\)", "R-)"}, {"B-?\\)", "B-)"},
{"\\:-?(o|O)", ":O"}, {"\\:-?(p|P)", ":P"}, {"\\:-?[\\\\/]", ":/"},
{"\\:-?[z|Z|\\|]", ":Z"}, {"\\:-?\\(", ":("}, {"\\:-?\\)", ":)"},
{"\\:-?D", ":D"}, {"\\;-?(p|P)", ";P"}, {"\\;-?\\)", ";)"},
{"R-?\\)", "R)"}, {"B-?\\)", "B)"},
};
auto it = emoteNameReplacements.find(_emoteName);