From c858677b96f4164ece887b4f61f9a23616a80619 Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Fri, 24 Mar 2023 16:07:39 +0100 Subject: [PATCH] Rephrase registration.yaml --- data/api/client-server/registration.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/api/client-server/registration.yaml b/data/api/client-server/registration.yaml index e2100a1a..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