@ -24,27 +24,28 @@ allOf:
display the ``sender`` of the timeline events in the response.
display the ``sender`` of the timeline events in the response.
If ``false``, ``m.room.member`` events are not filtered.
If ``false``, ``m.room.member`` events are not filtered.
By default, servers should suppress duplicate redundant
By default, servers should suppress duplicate redundant
lazy-loaded ``m.room.member`` events from being sent to a given
lazy-loaded ``m.room.member`` events from being sent to a
client across multiple calls, given that most clients
given client in a previous request using the same filter,
cache membership events (see ``include_redundant_members``
given that most clients cache membership events (see
to change this behaviour).
``include_redundant_members`` to change this behaviour).
Only applicable when filtering state events, such as the
Only applicable when filtering state events, such as the
``state`` section of a ``/sync`` or ``/messages`` .
``state`` section of a ``/sync`` or ``/messages`` response .
include_redundant_members:
include_redundant_members:
type : boolean
type : boolean
description : |-
description : |-
If ``true``, response will always contain the ``m.room.member``
If ``true``, response will always contain the ``m.room.member``
events required to display the ``sender`` of the timeline events
events required to display the ``sender`` of the timeline events
in that response, assuming ``lazy_load_members`` is enabled. This
in that response, assuming ``lazy_load_members`` is enabled.
means that redundant duplicate member events may be returned across
This means that redundant duplicate member events will be returned
multiple calls to. This is useful for naive clients who never track
across multiple calls using the same filter. This is useful for
membership data. If ``false``, duplicate ``m.room.member`` events
naive clients who never track membership data. If ``false`` or
may be suppressed by the server across multiple calls. If
not provided, duplicate ``m.room.member`` events should be
``lazy_load_members`` is ``false`` this field is ignored.
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
Only applicable when filtering state events, such as the
``state`` section of a ``/sync`` or ``/messages`` .
``state`` section of a ``/sync`` or ``/messages`` response .
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'``