summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-06-14 16:09:13 +0100
committerGitHub <noreply@github.com>2018-06-14 16:09:13 +0100
commit61ab08a1975cdfc8bb37060543500da56ca2fb29 (patch)
tree07c23bee28a9a9503628aea80461fb7a64efee8b /synapse/api/auth.py
parenttweak changelog (diff)
parentFix broken unit test (diff)
downloadsynapse-61ab08a1975cdfc8bb37060543500da56ca2fb29.tar.xz
Merge pull request #3397 from matrix-org/rav/adjust_auth_rules
Adjust event auth rules when there is no PL event
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 06fa38366d..66639b0089 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -655,7 +655,7 @@ class Auth(object):
             auth_events[(EventTypes.PowerLevels, "")] = power_level_event
 
         send_level = event_auth.get_send_level(
-            EventTypes.Aliases, "", auth_events
+            EventTypes.Aliases, "", power_level_event,
         )
         user_level = event_auth.get_user_power_level(user_id, auth_events)