User event.sender rather than alias event.user_id

pull/4040/head
Erik Johnston 2018-10-16 16:15:51 +01:00
parent e238013c44
commit 6bd856caa2
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ def auth_types_for_event(event):
auth_types = []
auth_types.append((EventTypes.PowerLevels, "", ))
auth_types.append((EventTypes.Member, event.user_id, ))
auth_types.append((EventTypes.Member, event.sender, ))
auth_types.append((EventTypes.Create, "", ))
if event.type == EventTypes.Member: