Replace usage of builder.user_id with builder.sender

`.user_id` is proxed to `.sender` in FrozenEvent, so this has no
functional change
This commit is contained in:
Erik Johnston 2019-01-29 11:18:35 +00:00
parent a388d59d44
commit 5180f12bae

View file

@ -577,7 +577,7 @@ class Auth(object):
key = (EventTypes.JoinRules, "", ) key = (EventTypes.JoinRules, "", )
join_rule_event_id = current_state_ids.get(key) 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) member_event_id = current_state_ids.get(key)
key = (EventTypes.Create, "", ) key = (EventTypes.Create, "", )