diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-03-13 16:46:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 16:46:44 +0000 |
commit | 1e68b56a623a0d7f98106482bfed223c22193050 (patch) | |
tree | 27eeaad00c340cfcc9c4abcf67ac2ff10472a09f /synapse/handlers/relations.py | |
parent | Raise poetry-core version cap to 1.9.0 (#16986) (diff) | |
download | synapse-1e68b56a623a0d7f98106482bfed223c22193050.tar.xz |
Bump black from 23.10.1 to 24.2.0 (#16936)
Diffstat (limited to 'synapse/handlers/relations.py')
-rw-r--r-- | synapse/handlers/relations.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/synapse/handlers/relations.py b/synapse/handlers/relations.py index 828a4b4cbd..931ac0c813 100644 --- a/synapse/handlers/relations.py +++ b/synapse/handlers/relations.py @@ -188,13 +188,13 @@ class RelationsHandler: if include_original_event: # Do not bundle aggregations when retrieving the original event because # we want the content before relations are applied to it. - return_value[ - "original_event" - ] = await self._event_serializer.serialize_event( - event, - now, - bundle_aggregations=None, - config=serialize_options, + return_value["original_event"] = ( + await self._event_serializer.serialize_event( + event, + now, + bundle_aggregations=None, + config=serialize_options, + ) ) if next_token: |