mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-25 17:03:55 +00:00
Clarify error message when joining a restricted room. (#10572)
This commit is contained in:
1 parent
fab352ac2c
commit
2ae2a04616
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
Clarify error message when failing to join a restricted room.
|
||||
@@ -213,7 +213,7 @@ class EventAuthHandler:
|
||||
|
||||
raise AuthError(
|
||||
403,
|
||||
"You do not belong to any of the required rooms to join this room.",
|
||||
"You do not belong to any of the required rooms/spaces to join this room.",
|
||||
)
|
||||
|
||||
async def has_restricted_join_rules(
|
||||
|
||||
Reference in new issue
Block a user