Fix /backfill returning events it shouldn't

pull/4/merge
Erik Johnston 8 years ago
parent c3208e45c9
commit b2999a7055
  1. 5
      synapse/handlers/federation.py

@ -253,8 +253,9 @@ class FederationHandler(BaseHandler):
return False return False
event_map = yield self.store.get_events([ event_map = yield self.store.get_events([
e_id for key_to_eid in event_to_state_ids.values() e_id
for key, e_id in key_to_eid 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]) if key[0] != EventTypes.Member or check_match(key[1])
]) ])

Loading…
Cancel
Save