diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-02 14:42:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-02 14:42:38 +0100 |
commit | f7f1027d3d5d2c8a92fbe36eccf2008d823fc2b1 (patch) | |
tree | 3fdd5c126b9467d78939cbf550470b64b977a2aa /synapse/handlers/federation.py | |
parent | Comment (diff) | |
download | synapse-f7f1027d3d5d2c8a92fbe36eccf2008d823fc2b1.tar.xz |
Comment on when auth chain and state are None
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 2338c3a72b..fa7ea63858 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -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 |