xmpp: Add missing await
This commit is contained in:
1 parent
0a954eb3d6
commit
f4d413cd5e
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user