From e50ed6fcf66eb2e8eb2f797e7cccf158e34210c7 Mon Sep 17 00:00:00 2001 From: "L. Bradley LaBoon" Date: Thu, 16 Jan 2025 20:08:05 -0500 Subject: [PATCH] Fix webapp_url for latest maubot --- maubot.yaml | 2 +- twitchbot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maubot.yaml b/maubot.yaml index e6f526e..481fc9d 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,4 +1,4 @@ -maubot: 0.5.0 +maubot: 0.5.1 id: io.laboon.maubot.twitchbot version: 1.0.0 license: AGPL-3.0-only diff --git a/twitchbot.py b/twitchbot.py index 98a47e3..906cd6e 100644 --- a/twitchbot.py +++ b/twitchbot.py @@ -328,7 +328,7 @@ class TwitchBot(Plugin): # Check current subs for ones that need removal for sub in api_subs: # Ignore subs that aren't for our instance - if (sub["transport"]["callback"] != str(self.webapp_url) + "/stream-notify"): + if (sub["transport"]["callback"] != str(self.webapp_url) + "stream-notify"): continue # Locate corresponding sub from DB @@ -404,7 +404,7 @@ class TwitchBot(Plugin): }, "transport": { "method": "webhook", - "callback": str(self.webapp_url) + "/stream-notify", + "callback": str(self.webapp_url) + "stream-notify", "secret": webhook_secret } }