kopia lustrzana https://gitlab.com/jaywink/federation
Don't crash on outbound_send if matrix payload has no method
rodzic
7608047b9e
commit
49e5f0a511
|
@ -313,7 +313,7 @@ def handle_send(
|
||||||
},
|
},
|
||||||
"payload": rendered_payload,
|
"payload": rendered_payload,
|
||||||
"urls": {payload["endpoint"]},
|
"urls": {payload["endpoint"]},
|
||||||
"method": payload["method"],
|
"method": payload.get("method"),
|
||||||
})
|
})
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|
Ładowanie…
Reference in New Issue