diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-06-14 16:09:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 16:09:13 +0100 |
commit | 61ab08a1975cdfc8bb37060543500da56ca2fb29 (patch) | |
tree | 07c23bee28a9a9503628aea80461fb7a64efee8b /synapse/api/auth.py | |
parent | tweak changelog (diff) | |
parent | Fix broken unit test (diff) | |
download | synapse-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.py | 2 |
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) |