diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-11 10:37:07 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-11 10:55:53 +0100 |
commit | 3c8262b181489c1f2f7a4de50c9171b0239edd17 (patch) | |
tree | 54ce2c87d121a6f96209d229633d110c95125486 /synapse/handlers/federation.py | |
parent | Merge branch 'babolivier/account_validity_send_mail_auth' into dinsic (diff) | |
parent | 0.99.5.2 (diff) | |
download | synapse-3c8262b181489c1f2f7a4de50c9171b0239edd17.tar.xz |
Merge branch 'master' into dinsic
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 469f271849..5c55103854 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1920,6 +1920,11 @@ class FederationHandler(BaseHandler): event.room_id, latest_event_ids=extrem_ids, ) + logger.debug( + "Doing soft-fail check for %s: state %s", + event.event_id, current_state_ids, + ) + # Now check if event pass auth against said current state auth_types = auth_types_for_event(event) current_state_ids = [ @@ -1936,7 +1941,7 @@ class FederationHandler(BaseHandler): self.auth.check(room_version, event, auth_events=current_auth_events) except AuthError as e: logger.warn( - "Failed current state auth resolution for %r because %s", + "Soft-failing %r because %s", event, e, ) event.internal_metadata.soft_failed = True |