Skip to content
Snippets Groups Projects
Commit b2999a70 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix /backfill returning events it shouldn't

parent c3208e45
No related branches found
No related tags found
No related merge requests found
......@@ -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])
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment