From 704ee770d4bfd35101f876b4f4b96c0a75be76ff Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Thu, 16 Sep 2021 18:34:17 +0200 Subject: [PATCH] xmpp: Fix typo --- 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 515696e..2091144 100644 --- a/xmpp_discord_bridge/main.py +++ b/xmpp_discord_bridge/main.py @@ -194,10 +194,10 @@ class BridgeComponent(ComponentXMPP): str(vcard))) # Aquire a webhook - wh = "" + wh = None for webhook in await dchannel.webhooks(): if webhook.name == "discord-xmpp-bridge": - wh webhook + wh = webhook break if not wh: wh = await dchannel.create_webhook(name="discord-xmpp-bridge",