Also pull out rejected events

pull/998/head
Erik Johnston 2016-08-10 13:26:13 +01:00
parent 7f41bcbeec
commit ea8c4094db
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class FederationClient(FederationBase):
events and the second is a list of event ids that we failed to fetch. events and the second is a list of event ids that we failed to fetch.
""" """
if return_local: 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() signed_events = seen_events.values()
else: else:
seen_events = yield self.store.have_events(event_ids) seen_events = yield self.store.have_events(event_ids)