summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-06 11:46:02 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-08 17:24:50 +0100
commitf06bd7fd00069c3c0424c1adefb06dddbff5696b (patch)
tree112ac20c1157ad8ad7589d05d84e002e39c66368 /synapse/api
parentRemove accidental return statement (diff)
downloadsynapse-anoa/bla.tar.xz
wip access rules modification github/anoa/bla anoa/bla
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 1071a0576e..98bb1aaee5 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -89,6 +89,9 @@ class Auth:
         auth_events = await self.store.get_events(auth_events_ids)
         auth_events = {(e.type, e.state_key): e for e in auth_events.values()}
 
+        # TODO:
+        # Would need to thread original_event everywhere we call event_auth.check
+        # Ask in #synapse-dev about this first...
         room_version_obj = KNOWN_ROOM_VERSIONS[room_version]
         event_auth.check(
             room_version_obj, event, auth_events=auth_events, do_sig_check=do_sig_check