0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 06:53:52 +01:00

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