Compare commits

...

1 Commits
v1.0.0 ... main

Author SHA1 Message Date
e50ed6fcf6
Fix webapp_url for latest maubot 2025-01-16 20:08:05 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
}
}