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

xmpp: Fix webhook with no Content-Type

+4 -1
+4 -1
xmpp_discord_bridge/main.py
··· 262 262 }] 263 263 264 264 requests.post(self._webhooks[muc], 265 - data=webhook) 265 + data=webhook, 266 + headers={ 267 + "Content-Type": "application/json" 268 + }) 266 269 267 270 def virtual_user_update_presence(self, muc, uid, pshow, pstatus=None): 268 271 """