|
|
@ -19,38 +19,16 @@ allOf:
|
|
|
|
lazy_load_members:
|
|
|
|
lazy_load_members:
|
|
|
|
type: boolean
|
|
|
|
type: boolean
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
If ``true``, the only ``m.room.member`` events returned
|
|
|
|
If ``true``, enables lazy-loading of membership events. See
|
|
|
|
are those which are definitely necessary for a client to
|
|
|
|
`Lazy-loading room members <#lazy-loading-room-members>`_
|
|
|
|
display the ``sender`` of the timeline events in the response.
|
|
|
|
for more information. Defaults to ``false``.
|
|
|
|
If ``false``, ``m.room.member`` events are not filtered.
|
|
|
|
|
|
|
|
By default, servers should suppress duplicate redundant
|
|
|
|
|
|
|
|
lazy-loaded ``m.room.member`` events from being sent to a
|
|
|
|
|
|
|
|
given client in a previous request using the same filter,
|
|
|
|
|
|
|
|
given that most clients cache membership events (see
|
|
|
|
|
|
|
|
``include_redundant_members`` to change this behaviour).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only applicable when filtering state events, such as the
|
|
|
|
|
|
|
|
``state`` section of a lazy-loading aware endpoint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The endpoints which support lazy-loading are:
|
|
|
|
|
|
|
|
`/sync <#get-matrix-client-%CLIENT_RELEASE_LABEL%-sync>`_,
|
|
|
|
|
|
|
|
`/messages <#get-matrix-client-%CLIENT_RELEASE_LABEL%-rooms-roomid-messages>`_,
|
|
|
|
|
|
|
|
and `/context <#get-matrix-client-%CLIENT_RELEASE_LABEL%-rooms-roomid-context-eventid>`_.
|
|
|
|
|
|
|
|
include_redundant_members:
|
|
|
|
include_redundant_members:
|
|
|
|
type: boolean
|
|
|
|
type: boolean
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
If ``true``, response will always contain the ``m.room.member``
|
|
|
|
If ``true``, enables redudant membership events. Does not
|
|
|
|
events required to display the ``sender`` of the timeline events
|
|
|
|
apply unless ``lazy_load_members`` is ``true``. See
|
|
|
|
in that response, assuming ``lazy_load_members`` is enabled.
|
|
|
|
`Lazy-loading room members <#lazy-loading-room-members>`_
|
|
|
|
This means that redundant duplicate member events will be returned
|
|
|
|
for more information. Defaults to ``false``.
|
|
|
|
across multiple calls using the same filter. This is useful for
|
|
|
|
|
|
|
|
naive clients who never track membership data. If ``false`` or
|
|
|
|
|
|
|
|
not provided, duplicate ``m.room.member`` events should be
|
|
|
|
|
|
|
|
suppressed by the server across multiple calls. If ``lazy_load_members``
|
|
|
|
|
|
|
|
is ``false`` this field is ignored.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only applicable when filtering state events, such as the
|
|
|
|
|
|
|
|
``state`` section of a lazy-loading aware endpoint.
|
|
|
|
|
|
|
|
not_rooms:
|
|
|
|
not_rooms:
|
|
|
|
description: A list of room IDs to exclude. If this list is absent then no rooms
|
|
|
|
description: A list of room IDs to exclude. If this list is absent then no rooms
|
|
|
|
are excluded. A matching room will be excluded even if it is listed in the ``'rooms'``
|
|
|
|
are excluded. A matching room will be excluded even if it is listed in the ``'rooms'``
|
|
|
|