From f123a11c1c43d2a0afa3287b4a388130426b1c33 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Sun, 23 May 2021 13:26:18 +0000 Subject: [PATCH] Fix FFZ emote links for global emotes (#2808) --- CHANGELOG.md | 1 + src/providers/ffz/FfzEmotes.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b59841cd..0064f01f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/providers/ffz/FfzEmotes.cpp b/src/providers/ffz/FfzEmotes.cpp index 2daedaaa5..5608a481e 100644 --- a/src/providers/ffz/FfzEmotes.cpp +++ b/src/providers/ffz/FfzEmotes.cpp @@ -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();