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
1 changed files with 1 additions and 1 deletions

View File

@ -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, "", )