mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 09:53:32 +00:00
Add tracking discussion for not optional in the future
This commit is contained in:
parent
e3e431fab4
commit
303d834b78
|
@ -756,6 +756,11 @@ class SlidingSyncHandler:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Assemble the list of timeline events
|
# Assemble the list of timeline events
|
||||||
|
#
|
||||||
|
# It would be nice to make the `rooms` response more uniform regardless of
|
||||||
|
# membership. Currently, we have to make all of these optional because
|
||||||
|
# `invite`/`knock` rooms only have `stripped_state`. See
|
||||||
|
# https://github.com/matrix-org/matrix-spec-proposals/pull/3575#discussion_r1653045932
|
||||||
timeline_events: Optional[List[EventBase]] = None
|
timeline_events: Optional[List[EventBase]] = None
|
||||||
bundled_aggregations: Optional[Dict[str, BundledAggregations]] = None
|
bundled_aggregations: Optional[Dict[str, BundledAggregations]] = None
|
||||||
limited: Optional[bool] = None
|
limited: Optional[bool] = None
|
||||||
|
|
Loading…
Reference in a new issue