diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-09-23 11:59:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 11:59:07 +0100 |
commit | aa2c027792d04c36b17866710e95a41d31f5d99c (patch) | |
tree | a4fedd511f23f3224c0c3fdf663b28c27acfcdab /synapse/handlers/message.py | |
parent | Factor out a separate `EventContext.for_outlier` (#10883) (diff) | |
download | synapse-aa2c027792d04c36b17866710e95a41d31f5d99c.tar.xz |
Remove unnecessary parentheses around tuples returned from methods (#10889)
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 6cd694b2da..7a5d8e6f4e 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -666,7 +666,7 @@ class EventCreationHandler: self.validator.validate_new(event, self.config) - return (event, context) + return event, context async def _is_exempt_from_privacy_policy( self, builder: EventBuilder, requester: Requester @@ -1004,7 +1004,7 @@ class EventCreationHandler: logger.debug("Created event %s", event.event_id) - return (event, context) + return event, context @measure_func("handle_new_client_event") async def handle_new_client_event( |