Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Re-remove aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jan 5, 2022
1 parent 621579a commit d0b1c3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions synapse/handlers/room_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,14 +981,11 @@ async def _build_room_entry(self, room_id: str, for_federation: bool) -> JsonDic
current_state_ids[(EventTypes.Create, "")]
)

aliases = await self._store.get_aliases_for_room(room_id)

entry = {
"room_id": stats["room_id"],
"name": stats["name"],
"topic": stats["topic"],
"canonical_alias": stats["canonical_alias"],
"aliases": aliases,
"num_joined_members": stats["joined_members"],
"avatar_url": stats["avatar"],
# plural join_rules is a documentation error but kept for historical
Expand Down

0 comments on commit d0b1c3d

Please sign in to comment.