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
View File
@@ -42,6 +42,7 @@
- Dev: Updated `qtkeychain` to 0.15.0. (#5871)
- Dev: Updated `googletest` to 1.16.0. (#5942)
- Dev: Fixed duplicate CMake configure in clean builds. (#5940)
- Dev: BTTV emotes are now loaded as WEBP. (#5957)
## 2.5.2
+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);