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)
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
allowed_events = []