diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-29 11:18:35 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 11:18:38 +0000 |
commit | 5180f12bae880f76a483bc945951635c77596499 (patch) | |
tree | 369ab93242544a312aaf63f6573cd5ff35f5d475 | |
parent | Newsfile (diff) | |
download | synapse-5180f12bae880f76a483bc945951635c77596499.tar.xz |
Replace usage of builder.user_id with builder.sender
`.user_id` is proxed to `.sender` in FrozenEvent, so this has no functional change
-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 7b213e54c8..1a47fede71 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -577,7 +577,7 @@ class Auth(object): key = (EventTypes.JoinRules, "", ) join_rule_event_id = current_state_ids.get(key) - key = (EventTypes.Member, event.user_id, ) + key = (EventTypes.Member, event.sender, ) member_event_id = current_state_ids.get(key) key = (EventTypes.Create, "", ) |