Add support FrankerFaceZ badges. (#2101)

On startup, we poll https://api.frankerfacez.com/v1/badges/ids and store the mappings of user IDs to badges for the remainder of the applications lifetime.
This commit is contained in:
Mm2PL
2020-10-25 09:36:00 +00:00
committed by GitHub
parent ec94869480
commit 3ee08b9ffd
16 changed files with 222 additions and 36 deletions
+2
View File
@@ -26,6 +26,7 @@ class Settings;
class Fonts;
class Toasts;
class ChatterinoBadges;
class FfzBadges;
class Application
{
@@ -57,6 +58,7 @@ public:
NotificationController *const notifications{};
TwitchIrcServer *const twitch2{};
ChatterinoBadges *const chatterinoBadges{};
FfzBadges *const ffzBadges{};
/*[[deprecated]]*/ Logging *const logging{};