diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-09-20 13:06:55 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-09-20 13:06:55 +0100 |
commit | 703de4ec13b95f0c8f2e04bf8c20b3906b010592 (patch) | |
tree | 5dc64af67364613b35cad087bd6d0f037b206a6b /synapse/federation | |
parent | Fix client IPs being broken on Python 3 (#3908) (diff) | |
download | synapse-703de4ec13b95f0c8f2e04bf8c20b3906b010592.tar.xz |
Comments and interface cleanup for on_receive_pdu
Add some informative comments about what's going on here. Also, `sent_to_us_directly` and `get_missing` were doing the same thing (apart from in `_handle_queued_pdus`, which looks like a bug), so let's get rid of `get_missing` and use `sent_to_us_directly` consistently.
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index dbee404ea7..9a571e4fc7 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -618,7 +618,7 @@ class FederationServer(FederationBase): ) yield self.handler.on_receive_pdu( - origin, pdu, get_missing=True, sent_to_us_directly=True, + origin, pdu, sent_to_us_directly=True, ) def __str__(self): |