mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 11:23:52 +01:00
Add a comment in _process_received_pdu (#11011)
This commit is contained in:
parent
52aefd5086
commit
86af6b2f0e
2 changed files with 4 additions and 0 deletions
1
changelog.d/11011.misc
Normal file
1
changelog.d/11011.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Clean up some of the federation event authentication code for clarity.
|
|
@ -894,6 +894,9 @@ class FederationEventHandler:
|
|||
backfilled=backfilled,
|
||||
)
|
||||
except AuthError as e:
|
||||
# FIXME richvdh 2021/10/07 I don't think this is reachable. Let's log it
|
||||
# for now
|
||||
logger.exception("Unexpected AuthError from _check_event_auth")
|
||||
raise FederationError("ERROR", e.code, e.msg, affected=event.event_id)
|
||||
|
||||
await self._run_push_actions_and_persist_event(event, context, backfilled)
|
||||
|
|
Loading…
Reference in a new issue