Fix /sync flow referencing incorrect parameter to use with /messages (#2195)

* Fix wrong parameter to use with `/messages`

* Add changelog
This commit is contained in:
Eric Eastwood 2025-08-12 05:12:17 -05:00 committed by GitHub
parent f6d5009959
commit 04f42ac208
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix `/sync` flow referencing incorrect parameter to use with `/messages`.

View file

@ -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/<room_id>/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages) API to retrieve earlier
messages.