0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 23:53:51 +01:00

Also pull out rejected events

This commit is contained in:
Erik Johnston 2016-08-10 13:26:13 +01:00
parent 7f41bcbeec
commit ea8c4094db

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)