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

* Fix wrong parameter to use with `/messages`

* Add changelog
pull/2193/head
Eric Eastwood 4 months ago committed by GitHub
parent f6d5009959
commit 04f42ac208
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

@ -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.

Loading…
Cancel
Save