diff --git a/data/api/client-server/message_pagination.yaml b/data/api/client-server/message_pagination.yaml index 99d156a6..cc4d72b4 100644 --- a/data/api/client-server/message_pagination.yaml +++ b/data/api/client-server/message_pagination.yaml @@ -49,7 +49,10 @@ paths: - in: query type: string name: from - x-changedInMatrixVersion: "1.3" + x-changedInMatrixVersion: + 1.3: | + Previously, this field was required and paginating from the first or + last visible event in the room history wasn't supported. description: |- The token to start returning events from. This token can be obtained from a `prev_batch` or `next_batch` token returned by the `/sync` endpoint, @@ -59,7 +62,7 @@ paths: by a previous request to this endpoint, though servers are not required to support this. Clients should not rely on the behaviour. - If it is not provided, the homeserver shall return a list of messages + If it is not provided, the homeserver shall return a list of messages from the first or last (per the value of the `dir` parameter) visible event in the room history for the requesting user. required: false