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/room_summary.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/room_summary.py')
-rw-r--r-- | synapse/handlers/room_summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_summary.py b/synapse/handlers/room_summary.py index 4e28fb9685..fb26ee7ad7 100644 --- a/synapse/handlers/room_summary.py +++ b/synapse/handlers/room_summary.py @@ -1179,4 +1179,4 @@ def _child_events_comparison_key( order = None # Items without an order come last. - return (order is None, order, child.origin_server_ts, child.room_id) + return order is None, order, child.origin_server_ts, child.room_id |