0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-17 07:21:37 +01:00

Fix /backfill returning events it shouldn't

This commit is contained in:
Erik Johnston 2016-12-14 13:41:45 +00:00
parent c3208e45c9
commit b2999a7055

View file

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