Compare commits
No commits in common. "main" and "v1.0.0" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
maubot: 0.5.1
|
maubot: 0.5.0
|
||||||
id: io.laboon.maubot.twitchbot
|
id: io.laboon.maubot.twitchbot
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
license: AGPL-3.0-only
|
license: AGPL-3.0-only
|
||||||
|
@ -328,7 +328,7 @@ class TwitchBot(Plugin):
|
|||||||
# Check current subs for ones that need removal
|
# Check current subs for ones that need removal
|
||||||
for sub in api_subs:
|
for sub in api_subs:
|
||||||
# Ignore subs that aren't for our instance
|
# 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
|
continue
|
||||||
|
|
||||||
# Locate corresponding sub from DB
|
# Locate corresponding sub from DB
|
||||||
@ -404,7 +404,7 @@ class TwitchBot(Plugin):
|
|||||||
},
|
},
|
||||||
"transport": {
|
"transport": {
|
||||||
"method": "webhook",
|
"method": "webhook",
|
||||||
"callback": str(self.webapp_url) + "stream-notify",
|
"callback": str(self.webapp_url) + "/stream-notify",
|
||||||
"secret": webhook_secret
|
"secret": webhook_secret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user