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
1 changed files with 1 additions and 1 deletions

View File

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