mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-30 17:06:09 -05:00
Add a comment in _process_received_pdu (#11011)
This commit is contained in:
parent
52aefd5086
commit
86af6b2f0e
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 New Issue
Block a user