diff --git a/changelogs/client_server/newsfragments/2195.clarification b/changelogs/client_server/newsfragments/2195.clarification new file mode 100644 index 00000000..0ac462ad --- /dev/null +++ b/changelogs/client_server/newsfragments/2195.clarification @@ -0,0 +1 @@ +Fix `/sync` flow referencing incorrect parameter to use with `/messages`. diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index e7de10eb..33e611c2 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -2837,7 +2837,7 @@ most recent message events for each room, as well as the state of the room at the start of the returned timeline. The response also includes a `next_batch` field, which should be used as the value of the `since` parameter in the next call to `/sync`. Finally, the response includes, -for each room, a `prev_batch` field, which can be passed as a `start` +for each room, a `prev_batch` field, which can be passed as a `from`/`to` parameter to the [`/rooms//messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages) API to retrieve earlier messages.