From c8015a1efca9d3c0808836cbcdc9bf16d4599ec8 Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:59:31 +0100 Subject: [PATCH] Trigger a reload after emote confirmations too --- twitch.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/twitch.py b/twitch.py index dd02a62..f77eb75 100644 --- a/twitch.py +++ b/twitch.py @@ -1206,7 +1206,11 @@ class Twitch: async def process_notifications(self, user_id: int, message: JsonType): if message["type"] == "create-notification": data: JsonType = message["data"]["notification"] - if data["type"] == "user_drop_reward_reminder_notification": + if data["type"] in ( + "user_drop_reward_reminder_notification", # drop confirmation + "quests_viewer_reward_campaign_earned_emote", # emote confirmation + # badge confirmation? + ): self.change_state(State.INVENTORY_FETCH) await self.gql_request( GQL_OPERATIONS["NotificationsDelete"].with_variables(