fix: use WEBP images for BTTV emotes (#5957)

This commit is contained in:
nerix
2025-02-16 10:37:30 +01:00
committed by GitHub
parent dd6f204adc
commit bdd903bb42
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ constexpr QStringView EMOTE_LINK_FORMAT = u"https://betterttv.com/emotes/%1";
///
/// %2 being the emote size (e.g. 3x)
constexpr QStringView EMOTE_CDN_FORMAT =
u"https://cdn.betterttv.net/emote/%1/%2";
u"https://cdn.betterttv.net/emote/%1/%2.webp";
// BTTV doesn't provide any data on the size, so we assume an emote is 28x28
constexpr QSize EMOTE_BASE_SIZE(28, 28);