summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-01-28 14:55:22 +0000
committerRichard van der Hoff <richard@matrix.org>2020-01-28 14:55:22 +0000
commita1f307f7d1ca6d4f83f9f43272a4b152cfdee299 (patch)
treedabc166c0f887893c55282212fb2283dd0ab4cc3
parentupdate changelog (diff)
downloadsynapse-a1f307f7d1ca6d4f83f9f43272a4b152cfdee299.tar.xz
fix bad variable ref
Diffstat (limited to '')
-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