diff --git a/src/singletons/emotemanager.cpp b/src/singletons/emotemanager.cpp index 107b3b10d..ca18458f5 100644 --- a/src/singletons/emotemanager.cpp +++ b/src/singletons/emotemanager.cpp @@ -450,7 +450,7 @@ void EmoteManager::refreshTwitchEmotes(const std::shared_ptr &use for (QJsonValue emoteValue : emoteSetList) { QJsonObject emoticon = emoteValue.toObject(); - std::string id = emoticon["id"].toString().toStdString(); + std::string id = QString::number(emoticon["id"].toInt()).toStdString(); std::string code = emoticon["code"].toString().toStdString(); emoteData.emoteSets[emoteSetString].push_back({id, code}); emoteData.emoteCodes.push_back(code); diff --git a/src/util/networkrequest.hpp b/src/util/networkrequest.hpp index 44ea93b34..ee3cfdf6d 100644 --- a/src/util/networkrequest.hpp +++ b/src/util/networkrequest.hpp @@ -435,7 +435,7 @@ private: if (data.caller == nullptr) { QByteArray bytes = reply->readAll(); data.writeToCache(bytes); - data.onSuccess(parseJSONFromData2(bytes)); +// data.onSuccess(parseJSONFromData2(bytes)); reply->deleteLater(); } else {