diff --git a/changelogs/client_server/newsfragments/1474.clarification b/changelogs/client_server/newsfragments/1474.clarification new file mode 100644 index 00000000..9b874821 --- /dev/null +++ b/changelogs/client_server/newsfragments/1474.clarification @@ -0,0 +1 @@ +Fix phrasing & typography in the registration endpoint description. Contributed by @HarHarLinks. diff --git a/data/api/client-server/registration.yaml b/data/api/client-server/registration.yaml index 9fe4d4ad..29bd4196 100644 --- a/data/api/client-server/registration.yaml +++ b/data/api/client-server/registration.yaml @@ -50,8 +50,8 @@ paths: The server SHOULD register an account with a User ID based on the `username` provided, if any. Note that the grammar of Matrix User ID localparts is restricted, so the server MUST either map the provided - `username` onto a `user_id` in a logical manner, or reject - `username`\s which do not comply to the grammar, with + `username` onto a `user_id` in a logical manner, or reject any + `username` which does not comply to the grammar with `M_INVALID_USERNAME`. Matrix clients MUST NOT assume that localpart of the registered