mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:04:49 -04:00
Fix up directory server to not require uploading room hosts. Update the room hosts table with the current room hosts (if we have them) on GET.
This commit is contained in:
parent
5f7cdbe0b8
commit
30bcbc433a
3 changed files with 16 additions and 2 deletions
|
@ -54,7 +54,7 @@ class ClientDirectoryServer(RestServlet):
|
|||
logger.debug("Got room name: %s", room_alias.to_string())
|
||||
|
||||
room_id = content["room_id"]
|
||||
servers = content["servers"]
|
||||
servers = content["servers"] if "servers" in content else None
|
||||
|
||||
logger.debug("Got room_id: %s", room_id)
|
||||
logger.debug("Got servers: %s", servers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue