fix: use static version of 7tv badges (#5674)

This commit is contained in:
pajlada
2024-10-24 10:26:20 +02:00
committed by GitHub
parent 9e8281b75b
commit f66bc37368
4 changed files with 33 additions and 11 deletions
+3 -1
View File
@@ -153,8 +153,10 @@ public:
* Creates an image set from a 7TV emote or badge.
*
* @param emoteData { host: { files: [], url } }
* @param useStatic use static version if possible
*/
static ImageSet createImageSet(const QJsonObject &emoteData);
static ImageSet createImageSet(const QJsonObject &emoteData,
bool useStatic);
private:
Atomic<std::shared_ptr<const EmoteMap>> global_;