summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 11:18:35 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 11:18:38 +0000
commit5180f12bae880f76a483bc945951635c77596499 (patch)
tree369ab93242544a312aaf63f6573cd5ff35f5d475
parentNewsfile (diff)
downloadsynapse-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.py2
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, "", )