0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 13:03:51 +01:00

Be explicit about what we're doing

This commit is contained in:
Erik Johnston 2015-11-05 17:26:19 +00:00
parent 2aa98ff3bc
commit 66d36b8e41

View file

@ -121,7 +121,7 @@ class SearchHandler(BaseHandler):
room_ids = search_filter.filter_rooms(room_ids) room_ids = search_filter.filter_rooms(room_ids)
if batch_group == "room_id": if batch_group == "room_id":
room_ids = room_ids & {batch_group_key} room_ids.intersection_update({batch_group_key})
rank_map = {} # event_id -> rank of event rank_map = {} # event_id -> rank of event
allowed_events = [] allowed_events = []