diff options
author | H. Shay <hillerys@element.io> | 2023-02-21 14:26:29 -0800 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2023-02-21 14:26:29 -0800 |
commit | 2e14bc374581148069e82d89b9664cd20b993ea0 (patch) | |
tree | 6e592b6362e42eb29e5bd8539d187a4d524a6801 /synapse/handlers/federation.py | |
parent | add check_event_allowed_v2 (diff) | |
download | synapse-2e14bc374581148069e82d89b9664cd20b993ea0.tar.xz |
change callsites to reflect new function signature
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 1d0f6bcd6f..5371336529 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -993,6 +993,7 @@ class FederationHandler: ( event, unpersisted_context, + _, ) = await self.event_creation_handler.create_new_client_event( builder=builder ) @@ -1183,7 +1184,7 @@ class FederationHandler: }, ) - event, _ = await self.event_creation_handler.create_new_client_event( + event, _, _ = await self.event_creation_handler.create_new_client_event( builder=builder ) @@ -1236,9 +1237,10 @@ class FederationHandler: ( event, unpersisted_context, + _, ) = await self.event_creation_handler.create_new_client_event(builder=builder) - event_allowed, _ = await self.third_party_event_rules.check_event_allowed( + event_allowed, _, _ = await self.third_party_event_rules.check_event_allowed( event, unpersisted_context ) if not event_allowed: @@ -1413,6 +1415,7 @@ class FederationHandler: ( event, unpersisted_context, + _, ) = await self.event_creation_handler.create_new_client_event( builder=builder ) @@ -1495,6 +1498,7 @@ class FederationHandler: ( event, unpersisted_context, + _, ) = await self.event_creation_handler.create_new_client_event( builder=builder ) @@ -1577,6 +1581,7 @@ class FederationHandler: ( event, unpersisted_context, + _, ) = await self.event_creation_handler.create_new_client_event(builder=builder) EventValidator().validate_new(event, self.config) |