mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 22:23:53 -05:00
Make minor clarifications to the error messages given when we fail to join a room via any server. (#13160)
This commit is contained in:
parent
4f3082d6bf
commit
39be5bc550
4 changed files with 17 additions and 3 deletions
|
|
@ -1679,7 +1679,11 @@ class RoomMemberMasterHandler(RoomMemberHandler):
|
|||
]
|
||||
|
||||
if len(remote_room_hosts) == 0:
|
||||
raise SynapseError(404, "No known servers")
|
||||
raise SynapseError(
|
||||
404,
|
||||
"Can't join remote room because no servers "
|
||||
"that are in the room have been provided.",
|
||||
)
|
||||
|
||||
check_complexity = self.hs.config.server.limit_remote_rooms.enabled
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue