fix: use WEBP images for BTTV emotes (#5957)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user