From 4430f0b9a91cc90ddc18fb2522f61f5e77262e99 Mon Sep 17 00:00:00 2001 From: Lajamerr Mittesdine Date: Mon, 4 Jun 2018 18:06:55 -0400 Subject: [PATCH] Revisement of fixing text emotes Fixing the order of text emotes. --- src/singletons/emotemanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/singletons/emotemanager.cpp b/src/singletons/emotemanager.cpp index 2de509bf..172a5cbe 100644 --- a/src/singletons/emotemanager.cpp +++ b/src/singletons/emotemanager.cpp @@ -550,11 +550,11 @@ util::EmoteData EmoteManager::getTwitchEmoteById(long id, const QString &emoteNa _emoteName.replace(">", ">"); static QMap 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);