From afead2eb1bb578d6ca01af3ed3a8f729b852e795 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 6 Jun 2019 14:18:41 -0600 Subject: [PATCH] Clarify LL in /sync a bit more --- api/client-server/sync.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/client-server/sync.yaml b/api/client-server/sync.yaml index 4fe22d50..a0d2fd60 100644 --- a/api/client-server/sync.yaml +++ b/api/client-server/sync.yaml @@ -37,7 +37,13 @@ paths: *Note*: This endpoint supports lazy-loading. See `Filtering <#filtering>`_ for more information. Lazy-loading members is only supported on a ``StateFilter`` - for this endpoint. + for this endpoint. When lazy-loading is enabled, servers MUST include the + syncing user's own membership event when they join a room, or when the + full state of rooms is requested. The user's own membership event is eligible + for being considered redudant by the server. When a sync is ``limited``, + the server MUST return membership events for the timeline, even if the + applicable events are not in the response, regardless as to whether or not + they are redundant. operationId: sync security: - accessToken: []