More clarity

matthew/1.0/msc688-msc1227-lazy-loading
Travis Ralston 5 years ago
parent a0e8201816
commit e4339fd687

@ -1276,12 +1276,12 @@ effort to reduce the number of resources used, clients can enable "lazy-loading"
for room members. By doing this, servers will only ever send membership events for room members. By doing this, servers will only ever send membership events
which are relevant to the client. which are relevant to the client.
In terms of filters, this means enabling ``lazy_load_members`` on a ``StateFilter`` In terms of filters, this means enabling ``lazy_load_members`` on a ``RoomEventFilter``
or ``RoomEventFilter``. When enabled, lazy-loading aware endpoints (see below) (or a ``StateFilter`` in the case of ``/sync`` only). When enabled, lazy-loading
will only include membership events for the ``sender`` of events being included aware endpoints (see below) will only include membership events for the ``sender``
in the response. For example, if a client makes a ``/sync`` request with lazy-loading of events being included in the response. For example, if a client makes a ``/sync``
enabled, the server will only return membership events for the ``sender`` of events request with lazy-loading enabled, the server will only return membership events
in the timeline, not all members of a room. for the ``sender`` of events in the timeline, not all members of a room.
Repeated calls to lazy-loading aware endpoints will result in redundant membership Repeated calls to lazy-loading aware endpoints will result in redundant membership
events being excluded by default. Clients often track which membership events they events being excluded by default. Clients often track which membership events they

Loading…
Cancel
Save