Fix FFZ emote links for global emotes (#2808)

This commit is contained in:
Mm2PL 2021-05-23 13:26:18 +00:00 committed by GitHub
parent 258851e572
commit f123a11c1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,7 @@
- Minor: Made "#channel" in `/mentions` tab show in usercards and in the search popup. (#2802)
- Minor: Added settings to disable custom FrankerFaceZ VIP/mod badges. (#2693, #2759)
- Bugfix: Fixed FFZ emote links for global emotes (#2807, #2808)
## 2.3.2

View file

@ -67,7 +67,8 @@ namespace {
auto jsonEmote = jsonEmoteValue.toObject();
auto name = EmoteName{jsonEmote.value("name").toString()};
auto id = EmoteId{jsonEmote.value("id").toString()};
auto id =
EmoteId{QString::number(jsonEmote.value("id").toInt())};
auto urls = jsonEmote.value("urls").toObject();
auto emote = Emote();