summary refs log tree commit diff
path: root/synapse/event_auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-16 16:15:51 +0100
committerErik Johnston <erik@matrix.org>2018-10-16 16:16:13 +0100
commit6bd856caa29a022a537ccd415bae8c286baa6881 (patch)
tree5b3c4dd8c36e3dcbae663b50d776e032a4e4a79e /synapse/event_auth.py
parentAdd v2 state res algorithm. (diff)
downloadsynapse-6bd856caa29a022a537ccd415bae8c286baa6881.tar.xz
User event.sender rather than alias event.user_id
Diffstat (limited to '')
-rw-r--r--synapse/event_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py
index af3eee95b9..d4d4474847 100644
--- a/synapse/event_auth.py
+++ b/synapse/event_auth.py
@@ -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: