diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-02-21 12:40:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 12:40:23 -0500 |
commit | fcf45994881d652571d965547b2287d796f798fc (patch) | |
tree | 761bd1fd943f40fbb6230b5ee69687e29d01c67d /synapse/handlers | |
parent | Publishing/removing from the directory requires a power level greater than ca... (diff) | |
download | synapse-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.py | 9 |
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( |