Skip to content

Commit 0c9f95c

Browse files
committed
Break
1 parent be591ca commit 0c9f95c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

synapse/handlers/room.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,6 @@ async def get_new_events(
17451745
# We know stream_ordering must be not None here, as its been
17461746
# persisted, but mypy doesn't know that
17471747
events.sort(key=lambda e: cast(int, e.internal_metadata.stream_ordering))
1748-
17491748
if limit:
17501749
events[:] = events[:limit]
17511750

0 commit comments

Comments
 (0)