Stop returning aliases as part of the room list. (#6970)
parent
7936d2a96e
commit
fcf4599488
|
@ -0,0 +1 @@
|
|||
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(
|
||||
|
|
Loading…
Reference in New Issue