newly_joined vs limited already being tracked in a discussion

See https://github.com/element-hq/synapse/pull/17320#discussion_r1646579623
if anything comes out of it.
This commit is contained in:
Eric Eastwood 2024-06-24 16:08:58 -05:00
parent 0e71a2f2d1
commit 21ca02c5ad

View file

@ -829,9 +829,6 @@ class SlidingSyncHandler:
stream=timeline_events[0].internal_metadata.stream_ordering - 1
)
# TODO: Does `newly_joined` affect `limited`? It does in sync v2 but I fail
# to understand why.
# Make sure we don't expose any events that the client shouldn't see
timeline_events = await filter_events_for_client(
self.storage_controllers,