Fix /backfill returning events it shouldn't

pull/1700/head
Erik Johnston 2016-12-14 13:41:45 +00:00
parent c3208e45c9
commit b2999a7055
1 changed files with 3 additions and 2 deletions

View File

@ -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])
])