Fix typo in registration.yaml (#1474)

This commit is contained in:
Kim Brose 2023-03-24 18:21:03 +01:00 committed by GitHub
parent a847ee3b57
commit a21b23dda8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
Fix phrasing & typography in the registration endpoint description. Contributed by @HarHarLinks.

View file

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