xmpp: Add missing await

This commit is contained in:
PapaTutuWawa 2021-09-16 15:49:03 +02:00
parent 0a954eb3d6
commit f4d413cd5e

View File

@ -200,7 +200,7 @@ class BridgeComponent(ComponentXMPP):
webhook_url = webhook.url
break
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")
webhook_url = webhook.url
self._webhooks[muc] = webhook_url