diff --git a/xmpp_discord_bridge/main.py b/xmpp_discord_bridge/main.py index 65d2c8e..1f702c3 100644 --- a/xmpp_discord_bridge/main.py +++ b/xmpp_discord_bridge/main.py @@ -262,7 +262,10 @@ class BridgeComponent(ComponentXMPP): }] requests.post(self._webhooks[muc], - data=webhook) + data=webhook, + headers={ + "Content-Type": "application/json" + }) def virtual_user_update_presence(self, muc, uid, pshow, pstatus=None): """