Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.
main ... v1.0.0

2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
maubot: 0.5.1
maubot: 0.5.0
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
}
}