mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Filter room ids before hitting the database
This commit is contained in:
parent
c8baada94a
commit
5c41224a89
2 changed files with 21 additions and 1 deletions
|
@ -64,7 +64,7 @@ class SearchHandler(BaseHandler):
|
|||
)
|
||||
room_ids = set(r.room_id for r in rooms)
|
||||
|
||||
# TODO: Apply room filter to rooms list
|
||||
room_ids = filtr.filter_rooms(room_ids)
|
||||
|
||||
rank_map, event_map = yield self.store.search_msgs(room_ids, search_term, keys)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue