diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-07-24 14:21:01 +0200 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-08-28 18:16:17 +0100 |
commit | 70714595bcc2394d62f9413d8dbcede8296eecd4 (patch) | |
tree | 401f87e3e260454e06e9761bbb8c5aa20ac91d71 /synapse/handlers/federation.py | |
parent | Merge pull request #5702 from matrix-org/babolivier/3pid-invite (diff) | |
download | synapse-70714595bcc2394d62f9413d8dbcede8296eecd4.tar.xz |
Implement per-room message retention policies
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 ab731db7fd..e96edb8bbf 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -2610,7 +2610,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. @@ -2715,7 +2715,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) defer.returnValue((event, context)) @defer.inlineCallbacks |