xmpp: Fix webhook with no Content-Type
This commit is contained in:
parent
0e60c8c8e0
commit
ebbbf7827a
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user