summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-16 13:06:23 +0000
committerErik Johnston <erik@matrix.org>2015-03-16 13:06:23 +0000
commitb2e6ee5b43ebcd9e7ba37a56ed22b26c63b01370 (patch)
tree01c742c87f427f7f0add0a170ab23b8bcfe0c5f2 /synapse/api/auth.py
parentFix test (diff)
downloadsynapse-b2e6ee5b43ebcd9e7ba37a56ed22b26c63b01370.tar.xz
Remove concept of context.auth_events, instead use context.current_state
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 4873cf9d1f..90f9eb6847 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -430,12 +430,6 @@ class Auth(object):
 
         builder.auth_events = auth_events_entries
 
-        context.auth_events = {
-            k: v
-            for k, v in context.current_state.items()
-            if v.type in AuthEventTypes
-        }
-
     def compute_auth_events(self, event, current_state):
         if event.type == EventTypes.Create:
             return []