summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-22 15:02:35 +0100
committerErik Johnston <erik@matrix.org>2015-10-22 15:02:35 +0100
commit232beb3a3c28ccdc5388daa9396d5054b7768b12 (patch)
tree8ad28ddbf431e3107272760586565cb68be04934 /synapse/handlers
parentLimit max number of SQL vars (diff)
downloadsynapse-232beb3a3c28ccdc5388daa9396d5054b7768b12.tar.xz
Use namedtuple as return value
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/search.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/search.py b/synapse/handlers/search.py
index f53e5d35ac..bdc79ffc55 100644
--- a/synapse/handlers/search.py
+++ b/synapse/handlers/search.py
@@ -66,7 +66,9 @@ class SearchHandler(BaseHandler):
 
         room_ids = filtr.filter_rooms(room_ids)
 
-        rank_map, event_map = yield self.store.search_msgs(room_ids, search_term, keys)
+        rank_map, event_map, _ = yield self.store.search_msgs(
+            room_ids, search_term, keys
+        )
 
         filtered_events = filtr.filter(event_map.values())