File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -115,14 +115,14 @@ paths:
115
115
type : array
116
116
description : |-
117
117
A list of state events relevant to showing the ``chunk``. For example, if
118
- lazy-loading members is enabled in the filter then this will contain any
119
- applicable membership events. Servers should be careful to not exclude
118
+ ``lazy_load_members`` is enabled in the filter then this will contain any
119
+ the membership events for the the senders of events in the ``chunk`` . Servers should be careful to not exclude
120
120
membership events which are older than ones already sent to the client.
121
121
Likewise, clients should be cautious and avoid using older membership
122
122
events as the current membership event when paginating backwards.
123
123
124
124
Unless ``include_redundant_members`` is ``true``, the server should remove
125
- redundant members which would have already been sent to clients in prior calls
125
+ membership events which would have already been sent to clients in prior calls
126
126
to lazy-loading aware endpoints with the same filter.
127
127
items :
128
128
type : object
Original file line number Diff line number Diff line change 41
41
syncing user's own membership event when they join a room, or when the
42
42
full state of rooms is requested. The user's own membership event is eligible
43
43
for being considered redundant by the server. When a sync is ``limited``,
44
- the server MUST return membership events for events in the gap (from ``since``),
45
- even if the applicable events are not in the response, regardless as to whether
44
+ the server MUST return membership events for events in the gap (between ``since`` and the start of the returned timeline ),
45
+ regardless as to whether
46
46
or not they are redundant. ``include_redundant_members`` is ignored for limited
47
47
syncs.
48
48
operationId : sync
Original file line number Diff line number Diff line change @@ -1286,7 +1286,7 @@ for the ``sender`` of events in the timeline, not all members of a room.
1286
1286
Repeated calls to lazy-loading aware endpoints will result in redundant membership
1287
1287
events being excluded by default. Clients often track which membership events they
1288
1288
already have, therefore making the extra information not as useful to the client.
1289
- Clients can always request redundant members by setting ``include_redundant_members ``
1289
+ Clients can always request redundant membership events by setting ``include_redundant_members ``
1290
1290
to true in the filter.
1291
1291
1292
1292
Servers should be cautious about which events they consider redundant. Membership
@@ -1296,9 +1296,9 @@ as the current membership event for a user.
1296
1296
1297
1297
.. Note ::
1298
1298
Repeated calls using the same filter to *any * lazy-loading aware endpoint may
1299
- result in redundant members being excluded from future calls. For example, a
1299
+ result in redundant membership events being excluded from future calls. For example, a
1300
1300
request to ``/sync `` followed by a request to ``/messages `` may result in a
1301
- future call to ``/sync `` excluding members included by the ``/messages `` call.
1301
+ future call to ``/sync `` excluding membership events returned by the ``/messages `` call.
1302
1302
1303
1303
The current endpoints which support lazy-loading room members are:
1304
1304
You can’t perform that action at this time.
0 commit comments