mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 17:06:10 -04:00
Generate m.room.aliases event when the HS creates a room alias
This commit is contained in:
parent
1c7bb34ffd
commit
9dd4570b68
10 changed files with 94 additions and 18 deletions
|
@ -92,3 +92,10 @@ class DirectoryStore(SQLBaseStore):
|
|||
"server": server,
|
||||
}
|
||||
)
|
||||
|
||||
def get_aliases_for_room(self, room_id):
|
||||
return self._simple_select_onecol(
|
||||
"room_aliases",
|
||||
{"room_id": room_id},
|
||||
"room_alias",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue