summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-02-21 12:40:23 -0500
committerGitHub <noreply@github.com>2020-02-21 12:40:23 -0500
commitfcf45994881d652571d965547b2287d796f798fc (patch)
tree761bd1fd943f40fbb6230b5ee69687e29d01c67d /synapse/handlers
parentPublishing/removing from the directory requires a power level greater than ca... (diff)
downloadsynapse-fcf45994881d652571d965547b2287d796f798fc.tar.xz
Stop returning aliases as part of the room list. (#6970)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_list.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index c615206df1..0b7d3da680 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -216,15 +216,6 @@ class RoomListHandler(BaseHandler):
                         direction_is_forward=False,
                     ).to_token()
 
-        for room in results:
-            # populate search result entries with additional fields, namely
-            # 'aliases'
-            room_id = room["room_id"]
-
-            aliases = yield self.store.get_aliases_for_room(room_id)
-            if aliases:
-                room["aliases"] = aliases
-
         response["chunk"] = results
 
         response["total_room_count_estimate"] = yield self.store.count_public_rooms(