mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-13 03:59:28 -05:00
Also pull out rejected events
This commit is contained in:
parent
7f41bcbeec
commit
ea8c4094db
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user