mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 09:53:32 +00:00
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:
parent
0e71a2f2d1
commit
21ca02c5ad
|
@ -829,9 +829,6 @@ class SlidingSyncHandler:
|
||||||
stream=timeline_events[0].internal_metadata.stream_ordering - 1
|
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
|
# Make sure we don't expose any events that the client shouldn't see
|
||||||
timeline_events = await filter_events_for_client(
|
timeline_events = await filter_events_for_client(
|
||||||
self.storage_controllers,
|
self.storage_controllers,
|
||||||
|
|
Loading…
Reference in a new issue