summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-16 09:35:31 +0000
committerErik Johnston <erik@matrix.org>2014-12-16 09:35:31 +0000
commit6a1da99fab064eb96aa1ae0566dbef4454b16567 (patch)
treec666b02ef22dab07b6168fa72a5e4cb1d6ee0797
parentFix pyflakes (diff)
downloadsynapse-6a1da99fab064eb96aa1ae0566dbef4454b16567.tar.xz
Add fixme to raising of AuthError in federation land
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index ddcb28c8e2..c00f5a7031 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -721,6 +721,7 @@ class FederationHandler(BaseHandler):
                         "Rejecting %s as %s not in db or %s",
                         event.event_id, e_id, known_ids,
                     )
+                    # FIXME: How does raising AuthError work with federation?
                     raise AuthError(403, "Auth events are stale")
 
                 context.auth_events[(e.type, e.state_key)] = e