diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-27 11:27:32 +0100 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-27 11:27:32 +0100 |
commit | 77078d6c8ef11e2401406edc1ca340e0d7779267 (patch) | |
tree | dfb1c69b80cd017f5406de5b5a1bc9ddbf16a09b /synapse/federation | |
parent | Better testing framework for homeserver-using things (#3446) (diff) | |
download | synapse-77078d6c8ef11e2401406edc1ca340e0d7779267.tar.xz |
handle federation not telling us about prev_events
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index d4dd967c60..4096093527 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -549,7 +549,9 @@ class FederationServer(FederationBase): affected=pdu.event_id, ) - yield self.handler.on_receive_pdu(origin, pdu, get_missing=True) + yield self.handler.on_receive_pdu( + origin, pdu, get_missing=True, sent_to_us_directly=True, + ) def __str__(self): return "<ReplicationLayer(%s)>" % self.server_name |