summary refs log tree commit diff
path: root/synapse/event_auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/event_auth.py')
-rw-r--r--synapse/event_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py
index 3240e8a7b2..472f165044 100644
--- a/synapse/event_auth.py
+++ b/synapse/event_auth.py
@@ -153,7 +153,7 @@ def check(
 
         # 4c. Otherwise, allow.
         # This is removed by https://github.com/matrix-org/matrix-doc/pull/2260
-        if room_version.special_case_aliases_auth:
+        if room_version_obj.special_case_aliases_auth:
             logger.debug("Allowing! %s", event)
             return