Skip to content

Commit a21b23d

Browse files
authored
Fix typo in registration.yaml (#1474)
1 parent a847ee3 commit a21b23d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix phrasing & typography in the registration endpoint description. Contributed by @HarHarLinks.

data/api/client-server/registration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ paths:
5050
The server SHOULD register an account with a User ID based on the
5151
`username` provided, if any. Note that the grammar of Matrix User ID
5252
localparts is restricted, so the server MUST either map the provided
53-
`username` onto a `user_id` in a logical manner, or reject
54-
`username`\s which do not comply to the grammar, with
53+
`username` onto a `user_id` in a logical manner, or reject any
54+
`username` which does not comply to the grammar with
5555
`M_INVALID_USERNAME`.
5656
5757
Matrix clients MUST NOT assume that localpart of the registered

0 commit comments

Comments
 (0)