diff options
author | Erik Johnston <erik@matrix.org> | 2015-10-12 10:49:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-10-12 10:49:53 +0100 |
commit | 61561b9df791ec90e287e535cc75831c2016bf36 (patch) | |
tree | 903d6e26bc4bc3892c59c0a38bc9e2d3eccad96e /synapse/rest/client/v1/room.py | |
parent | Add basic full text search impl. (diff) | |
download | synapse-61561b9df791ec90e287e535cc75831c2016bf36.tar.xz |
Keep FTS indexes up to date. Only search through rooms currently joined
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-rw-r--r-- | synapse/rest/client/v1/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py index 35bd702a43..94adabca62 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py @@ -540,7 +540,7 @@ class SearchRestServlet(ClientV1RestServlet): content = _parse_json(request) - results = yield self.handlers.search_handler.search(content) + results = yield self.handlers.search_handler.search(auth_user, content) defer.returnValue((200, results)) |