mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 08:30:21 +00:00
Fix /backfill returning events it shouldn't
This commit is contained in:
parent
c3208e45c9
commit
b2999a7055
1 changed files with 3 additions and 2 deletions
|
@ -253,8 +253,9 @@ class FederationHandler(BaseHandler):
|
|||
return False
|
||||
|
||||
event_map = yield self.store.get_events([
|
||||
e_id for key_to_eid in event_to_state_ids.values()
|
||||
for key, e_id in key_to_eid
|
||||
e_id
|
||||
for key_to_eid in event_to_state_ids.values()
|
||||
for key, e_id in key_to_eid.items()
|
||||
if key[0] != EventTypes.Member or check_match(key[1])
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue