xmpp: Add missing await
This commit is contained in:
parent
0a954eb3d6
commit
f4d413cd5e
@ -200,7 +200,7 @@ class BridgeComponent(ComponentXMPP):
|
|||||||
webhook_url = webhook.url
|
webhook_url = webhook.url
|
||||||
break
|
break
|
||||||
if not webhook_url:
|
if not webhook_url:
|
||||||
webhook = dchannel.create_webhook(name="discord-xmpp-bridge",
|
webhook = await dchannel.create_webhook(name="discord-xmpp-bridge",
|
||||||
reason="Bridging Discord and XMPP")
|
reason="Bridging Discord and XMPP")
|
||||||
webhook_url = webhook.url
|
webhook_url = webhook.url
|
||||||
self._webhooks[muc] = webhook_url
|
self._webhooks[muc] = webhook_url
|
||||||
|
Loading…
Reference in New Issue
Block a user