diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-06 13:48:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-06 13:48:17 +0100 |
commit | f053c54db60316333eccd080bf9f68670ee68ce6 (patch) | |
tree | 17eabef715ebd60dd05c892f7040f91139e0d11e | |
parent | Add logline (diff) | |
download | synapse-erikj/backfill_fix.tar.xz |
And reject them github/erikj/backfill_fix erikj/backfill_fix
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 8e2a3cafc2..8d308d80c2 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -473,6 +473,7 @@ class FederationHandler(BaseHandler): logger.warn( "Failed to handle auth events because: %s", e ) + raise events.sort(key=lambda e: e.depth) @@ -1417,6 +1418,7 @@ class FederationHandler(BaseHandler): "Failed to auth event: %s because %s", event.event_id, e.msg ) + raise if event.type == EventTypes.GuestAccess: yield self.maybe_kick_guest_users(event) |