Fix webapp_url for latest maubot
This commit is contained in:
parent
0bfa34ee73
commit
e50ed6fcf6
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user