Skip to content

Commit

Permalink
Break
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jan 5, 2024
1 parent be591ca commit 0c9f95c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion synapse/handlers/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,6 @@ async def get_new_events(
# We know stream_ordering must be not None here, as its been
# persisted, but mypy doesn't know that
events.sort(key=lambda e: cast(int, e.internal_metadata.stream_ordering))

if limit:
events[:] = events[:limit]

Expand Down

0 comments on commit 0c9f95c

Please sign in to comment.