mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 13:14:19 -05:00
Comment on when auth chain and state are None
This commit is contained in:
parent
34e5e17f91
commit
f7f1027d3d
@ -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…
Reference in New Issue
Block a user