Skip to content
Snippets Groups Projects
Unverified Commit fcf45994 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Stop returning aliases as part of the room list. (#6970)

parent 7936d2a9
No related branches found
No related tags found
No related merge requests found
The room list endpoint no longer returns a list of aliases.
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment