Skip to content

Commit 904736e

Browse files
committed
fix(client-server): Fix a typo in /rooms/{roomId}/relations/{eventId}.
This patch fixes a typo in `/rooms/{roomId}/relations/{eventId}`. The specification says about the `from` request query parameter: > The pagination token to start returning results from. If not supplied, > results start at the most recent topological event known to the > server. > > Can be a `next_batch` or `prev_batch` token from a previous call, > or a returned `start` token from `/messages`, or a `next_batch` token > from `/sync`. The last part is wrong. It should be: > … or a `prev_batch` token from `/sync`. Signed-off-by: Ivan Enderlin <ivan@mnt.io>
1 parent 486a8f8 commit 904736e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/api/client-server/relations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ components:
254254
255255
Can be a `next_batch` or `prev_batch` token from a previous call, or a returned
256256
`start` token from [`/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages),
257-
or a `next_batch` token from [`/sync`](/client-server-api/#get_matrixclientv3sync).
257+
or a `prev_batch` token from [`/sync`](/client-server-api/#get_matrixclientv3sync).
258258
required: false
259259
example: page2_token
260260
schema:

0 commit comments

Comments
 (0)