mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:44:52 -04:00
Comment on when auth chain and state are None
This commit is contained in:
parent
34e5e17f91
commit
f7f1027d3d
1 changed files with 3 additions and 0 deletions
|
@ -101,6 +101,9 @@ class FederationHandler(BaseHandler):
|
|||
def on_receive_pdu(self, origin, pdu, state=None, auth_chain=None):
|
||||
""" Called by the ReplicationLayer when we have a new pdu. We need to
|
||||
do auth checks and put it through the StateHandler.
|
||||
|
||||
auth_chain and state are None if we already have the necessary state
|
||||
and prev_events in the db
|
||||
"""
|
||||
event = pdu
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue