From f4d413cd5eada6b49692c83c8cd522fca3df539e Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Thu, 16 Sep 2021 15:49:03 +0200 Subject: [PATCH] xmpp: Add missing await --- xmpp_discord_bridge/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmpp_discord_bridge/main.py b/xmpp_discord_bridge/main.py index 37744e8..dd589be 100644 --- a/xmpp_discord_bridge/main.py +++ b/xmpp_discord_bridge/main.py @@ -200,8 +200,8 @@ class BridgeComponent(ComponentXMPP): webhook_url = webhook.url break if not webhook_url: - webhook = dchannel.create_webhook(name="discord-xmpp-bridge", - reason="Bridging Discord and XMPP") + webhook = await dchannel.create_webhook(name="discord-xmpp-bridge", + reason="Bridging Discord and XMPP") webhook_url = webhook.url self._webhooks[muc] = webhook_url