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(">", ">");
|
_emoteName.replace(">", ">");
|
||||||
|
|
||||||
static QMap<QString, QString> emoteNameReplacements{
|
static QMap<QString, QString> emoteNameReplacements{
|
||||||
{"\\:-?\\)", ":-)"}, {"\\:-?\\(", ":-("}, {"\\:-?D", ":-D"},
|
{"[oO](_|\\.)[oO]", "O_o"}, {"\\>\\;\\(", ">("}, {"\\<\\;3", "<3"},
|
||||||
{"\\>\\;\\(", ">("}, {"\\:-?[z|Z|\\|]", ":-Z"}, {"[oO](_|\\.)[oO]", "O_o"},
|
{"\\:-?(o|O)", ":-O"}, {"\\:-?(p|P)", ":-P"}, {"\\:-?[\\\\/]", ":-/"},
|
||||||
{"B-?\\)", "B-)"}, {"\\:-?(o|O)", ":-O"}, {"\\<\\;3", "<3"},
|
{"\\:-?[z|Z|\\|]", ":-Z"}, {"\\:-?\\(", ":-("}, {"\\:-?\\)", ":-)"},
|
||||||
{"\\:-?[\\\\/]", ":-/"}, {"\\;-?\\)", ";-)"}, {"\\:-?(p|P)", ":-P"},
|
{"\\:-?D", ":-D"}, {"\\;-?(p|P)", ";-P"}, {"\\;-?\\)", ";-)"},
|
||||||
{"\\;-?(p|P)", ";-P"}, {"R-?\\)", "R-)"},
|
{"R-?\\)", "R-)"}, {"B-?\\)", "B-)"},
|
||||||
};
|
};
|
||||||
|
|
||||||
auto it = emoteNameReplacements.find(_emoteName);
|
auto it = emoteNameReplacements.find(_emoteName);
|
||||||
|
|
Loading…
Reference in a new issue