fork of https://f-hub.org/XMPP/xmpp-discord-bridge

xmpp: Add missing await

+2 -2
+2 -2
xmpp_discord_bridge/main.py
··· 200 200 webhook_url = webhook.url 201 201 break 202 202 if not webhook_url: 203 - webhook = dchannel.create_webhook(name="discord-xmpp-bridge", 204 - reason="Bridging Discord and XMPP") 203 + webhook = await dchannel.create_webhook(name="discord-xmpp-bridge", 204 + reason="Bridging Discord and XMPP") 205 205 webhook_url = webhook.url 206 206 self._webhooks[muc] = webhook_url 207 207