tangled
alpha
login
or
join now
zenfyr.dev
/
xmpp-discord-bridge
0
fork
atom
fork of https://f-hub.org/XMPP/xmpp-discord-bridge
0
fork
atom
overview
issues
pulls
pipelines
xmpp: Fix webhook with no Content-Type
Alexander PapaTutuWawa
4 years ago
ebbbf782
0e60c8c8
+4
-1
1 changed file
expand all
collapse all
unified
split
xmpp_discord_bridge
main.py
+4
-1
xmpp_discord_bridge/main.py
···
262
262
}]
263
263
264
264
requests.post(self._webhooks[muc],
265
265
-
data=webhook)
265
265
+
data=webhook,
266
266
+
headers={
267
267
+
"Content-Type": "application/json"
268
268
+
})
266
269
267
270
def virtual_user_update_presence(self, muc, uid, pshow, pstatus=None):
268
271
"""