summary refs log tree commit diff
path: root/synapse/handlers/event_auth.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-08-11 14:31:39 -0400
committerGitHub <noreply@github.com>2021-08-11 14:31:39 -0400
commit2ae2a04616a627eabbf3ca69700462a52f344e69 (patch)
treecfcc05071a49f8c7315139352176bb3494fb0b73 /synapse/handlers/event_auth.py
parentFix type hints in space summary tests. (#10575) (diff)
downloadsynapse-2ae2a04616a627eabbf3ca69700462a52f344e69.tar.xz
Clarify error message when joining a restricted room. (#10572)
Diffstat (limited to '')
-rw-r--r--synapse/handlers/event_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/event_auth.py b/synapse/handlers/event_auth.py
index e2410e482f..4288ffff09 100644
--- a/synapse/handlers/event_auth.py
+++ b/synapse/handlers/event_auth.py
@@ -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(