put the account emotes into groups

This commit is contained in:
fourtf
2018-05-31 16:20:46 +02:00
parent 85505a055d
commit a3e4c92b9f
2 changed files with 31 additions and 4 deletions
+1
View File
@@ -442,6 +442,7 @@ void EmoteManager::refreshTwitchEmotes(const std::shared_ptr<TwitchAccount> &use
[=, &emoteData](const QJsonObject &root) {
emoteData.emoteSets.clear();
emoteData.emoteCodes.clear();
auto emoticonSets = root.value("emoticon_sets").toObject();
for (QJsonObject::iterator it = emoticonSets.begin(); it != emoticonSets.end(); ++it) {
std::string emoteSetString = it.key().toStdString();