diff options
author | Erik Johnston <erikj@jki.re> | 2018-10-24 11:12:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:12:12 +0100 |
commit | 3904cbf30761e7cbeea633467262837c62ef5829 (patch) | |
tree | fbd67b9770bae377e2a6427d6023523595ede1f2 /synapse/event_auth.py | |
parent | Merge pull request #4075 from matrix-org/rav/fix_pusher_logcontexts (diff) | |
parent | isort (diff) | |
download | synapse-3904cbf30761e7cbeea633467262837c62ef5829.tar.xz |
Merge pull request #4040 from matrix-org/erikj/states_res_v2_rebase
Add v2 state resolution algorithm
Diffstat (limited to 'synapse/event_auth.py')
-rw-r--r-- | synapse/event_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py index af3eee95b9..d4d4474847 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -690,7 +690,7 @@ def auth_types_for_event(event): auth_types = [] auth_types.append((EventTypes.PowerLevels, "", )) - auth_types.append((EventTypes.Member, event.user_id, )) + auth_types.append((EventTypes.Member, event.sender, )) auth_types.append((EventTypes.Create, "", )) if event.type == EventTypes.Member: |