Skip to content

Commit bc4f22c

Browse files
committed
Incorporate review
1 parent d8292f0 commit bc4f22c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

proposals/3720-account-status.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,14 @@ federation endpoint described below.
7878
Below is how this endpoint behaves in case of errors:
7979

8080
* If no `user_ids` field is provided, the endpoint responds with a 400 status
81-
code and a `M_MISSING_PARAM` error code.
81+
code and a `M_BAD_JSON` error code.
8282
* If one or more of the user ID(s) provided cannot be parsed as a valid Matrix
8383
user ID, the endpoint responds with a 400 status code and a `M_INVALID_PARAM`
8484
error code.
8585

86+
If the `user_ids` field is an empty list, the server responds with a `200 OK`
87+
status and an empty body (`{}`).
88+
8689
### `POST /_matrix/federation/v1/account_status`
8790

8891
This endpoint behaves in an identical way to the client-side endpoint described

0 commit comments

Comments
 (0)