diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-11-27 15:04:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-27 15:04:38 +0000 |
commit | d31f69afa09e53a4b8e4df829b6b9b28d8acbd48 (patch) | |
tree | 020a6bfde6148c17c900740a45ad680f76b139c7 /synapse/handlers/federation.py | |
parent | clean up buildkite output (diff) | |
parent | Merge branch 'develop' into babolivier/message_retention (diff) | |
download | synapse-d31f69afa09e53a4b8e4df829b6b9b28d8acbd48.tar.xz |
Merge pull request #6358 from matrix-org/babolivier/message_retention
Implement message retention policies (MSC1763)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 97d045db10..a5ae7b77d1 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -2466,7 +2466,7 @@ class FederationHandler(BaseHandler): room_version, event_dict, event, context ) - EventValidator().validate_new(event) + EventValidator().validate_new(event, self.config) # We need to tell the transaction queue to send this out, even # though the sender isn't a local user. @@ -2581,7 +2581,7 @@ class FederationHandler(BaseHandler): event, context = yield self.event_creation_handler.create_new_client_event( builder=builder ) - EventValidator().validate_new(event) + EventValidator().validate_new(event, self.config) return (event, context) @defer.inlineCallbacks |