Compare commits

...

3 commits

Author SHA1 Message Date
Ivan Enderlin 844ddf2a5c
Merge 1d7846b0f9 into fafd11f809 2026-04-21 21:26:04 +01:00
Ivan Enderlin 1d7846b0f9
chore: Add #2357 in `changelogs/. 2026-04-17 18:12:50 +02:00
Ivan Enderlin 904736ef0f
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>
2026-04-17 18:11:51 +02:00
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
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`.

View file

@ -254,7 +254,7 @@ components:
Can be a `next_batch` or `prev_batch` token from a previous call, or a returned Can be a `next_batch` or `prev_batch` token from a previous call, or a returned
`start` token from [`/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages), `start` token from [`/messages`](/client-server-api/#get_matrixclientv3roomsroomidmessages),
or a `next_batch` token from [`/sync`](/client-server-api/#get_matrixclientv3sync). or a `prev_batch` token from [`/sync`](/client-server-api/#get_matrixclientv3sync).
required: false required: false
example: page2_token example: page2_token
schema: schema: