summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-10 13:26:13 +0100
committerErik Johnston <erik@matrix.org>2016-08-10 13:26:13 +0100
commitea8c4094dbaa9cec30c543a03f451d2555d1d23d (patch)
treeb6970211387e605cc9bdb204ce4adba353e1cc97
parentCorrectly auth /event/ requests (diff)
downloadsynapse-ea8c4094dbaa9cec30c543a03f451d2555d1d23d.tar.xz
Also pull out rejected events
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index baa672c4ac..56115a87d7 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -441,7 +441,7 @@ class FederationClient(FederationBase):
             events and the second is a list of event ids that we failed to fetch.
         """
         if return_local:
-            seen_events = yield self.store.get_events(event_ids)
+            seen_events = yield self.store.get_events(event_ids, allow_rejected=True)
             signed_events = seen_events.values()
         else:
             seen_events = yield self.store.have_events(event_ids)