Trigger a reload after emote confirmations too

This commit is contained in:
DevilXD committed 2026-01-09 11:59:31 +01:00
1 parent 633753aaa3
commit c8015a1efc
1 file changed
+5 -1
+5 -1
View File
@@ -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(