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