forked from MirrorHub/synapse
Be explicit about what we're doing
This commit is contained in:
parent
2aa98ff3bc
commit
66d36b8e41
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||||
|
|
Loading…
Reference in a new issue