mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Revisement of fixing text emotes
Fixing the order of text emotes.
This commit is contained in:
parent
3c8bb5e9bb
commit
4430f0b9a9
|
@ -550,11 +550,11 @@ util::EmoteData EmoteManager::getTwitchEmoteById(long id, const QString &emoteNa
|
|||
_emoteName.replace(">", ">");
|
||||
|
||||
static QMap<QString, QString> emoteNameReplacements{
|
||||
{"\\:-?\\)", ":-)"}, {"\\:-?\\(", ":-("}, {"\\:-?D", ":-D"},
|
||||
{"\\>\\;\\(", ">("}, {"\\:-?[z|Z|\\|]", ":-Z"}, {"[oO](_|\\.)[oO]", "O_o"},
|
||||
{"B-?\\)", "B-)"}, {"\\:-?(o|O)", ":-O"}, {"\\<\\;3", "<3"},
|
||||
{"\\:-?[\\\\/]", ":-/"}, {"\\;-?\\)", ";-)"}, {"\\:-?(p|P)", ":-P"},
|
||||
{"\\;-?(p|P)", ";-P"}, {"R-?\\)", "R-)"},
|
||||
{"[oO](_|\\.)[oO]", "O_o"}, {"\\>\\;\\(", ">("}, {"\\<\\;3", "<3"},
|
||||
{"\\:-?(o|O)", ":-O"}, {"\\:-?(p|P)", ":-P"}, {"\\:-?[\\\\/]", ":-/"},
|
||||
{"\\:-?[z|Z|\\|]", ":-Z"}, {"\\:-?\\(", ":-("}, {"\\:-?\\)", ":-)"},
|
||||
{"\\:-?D", ":-D"}, {"\\;-?(p|P)", ";-P"}, {"\\;-?\\)", ";-)"},
|
||||
{"R-?\\)", "R-)"}, {"B-?\\)", "B-)"},
|
||||
};
|
||||
|
||||
auto it = emoteNameReplacements.find(_emoteName);
|
||||
|
|
Loading…
Reference in a new issue