xmpp: Fix typo
This commit is contained in:
parent
3bafcb916c
commit
704ee770d4
@ -194,10 +194,10 @@ class BridgeComponent(ComponentXMPP):
|
||||
str(vcard)))
|
||||
|
||||
# Aquire a webhook
|
||||
wh = ""
|
||||
wh = None
|
||||
for webhook in await dchannel.webhooks():
|
||||
if webhook.name == "discord-xmpp-bridge":
|
||||
wh webhook
|
||||
wh = webhook
|
||||
break
|
||||
if not wh:
|
||||
wh = await dchannel.create_webhook(name="discord-xmpp-bridge",
|
||||
|
Loading…
Reference in New Issue
Block a user