Skip to content

Commit e4339fd

Browse files
committed
More clarity
1 parent a0e8201 commit e4339fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

specification/client_server_api.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,12 +1276,12 @@ effort to reduce the number of resources used, clients can enable "lazy-loading"
12761276
for room members. By doing this, servers will only ever send membership events
12771277
which are relevant to the client.
12781278

1279-
In terms of filters, this means enabling ``lazy_load_members`` on a ``StateFilter``
1280-
or ``RoomEventFilter``. When enabled, lazy-loading aware endpoints (see below)
1281-
will only include membership events for the ``sender`` of events being included
1282-
in the response. For example, if a client makes a ``/sync`` request with lazy-loading
1283-
enabled, the server will only return membership events for the ``sender`` of events
1284-
in the timeline, not all members of a room.
1279+
In terms of filters, this means enabling ``lazy_load_members`` on a ``RoomEventFilter``
1280+
(or a ``StateFilter`` in the case of ``/sync`` only). When enabled, lazy-loading
1281+
aware endpoints (see below) will only include membership events for the ``sender``
1282+
of events being included in the response. For example, if a client makes a ``/sync``
1283+
request with lazy-loading enabled, the server will only return membership events
1284+
for the ``sender`` of events in the timeline, not all members of a room.
12851285

12861286
Repeated calls to lazy-loading aware endpoints will result in redundant membership
12871287
events being excluded by default. Clients often track which membership events they

0 commit comments

Comments
 (0)