mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 16:29:24 -05:00
User event.sender rather than alias event.user_id
This commit is contained in:
parent
e238013c44
commit
6bd856caa2
@ -690,7 +690,7 @@ def auth_types_for_event(event):
|
|||||||
auth_types = []
|
auth_types = []
|
||||||
|
|
||||||
auth_types.append((EventTypes.PowerLevels, "", ))
|
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, "", ))
|
auth_types.append((EventTypes.Create, "", ))
|
||||||
|
|
||||||
if event.type == EventTypes.Member:
|
if event.type == EventTypes.Member:
|
||||||
|
Loading…
Reference in New Issue
Block a user