0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 09:43:50 +01:00

Fix receiving events from federation via a worker

This bug was introduced in PR #4470, commit 678a92cb56
This commit is contained in:
Erik Johnston 2019-01-29 10:30:26 +00:00
parent 94fb63e44f
commit b6b73a0bcf

View file

@ -95,7 +95,7 @@ class ReplicationFederationSendEventsRestServlet(ReplicationEndpoint):
event_and_contexts = [] event_and_contexts = []
for event_payload in event_payloads: for event_payload in event_payloads:
event_dict = event_payload["event"] event_dict = event_payload["event"]
format_ver = content["event_format_version"] format_ver = event_payload["event_format_version"]
internal_metadata = event_payload["internal_metadata"] internal_metadata = event_payload["internal_metadata"]
rejected_reason = event_payload["rejected_reason"] rejected_reason = event_payload["rejected_reason"]