Add a TODO about defining non-latin login creds

This commit is contained in:
Richard van der Hoff 2016-07-14 14:37:42 +01:00
parent cdd19dca7f
commit a2f1c6a7a6

View file

@ -492,8 +492,13 @@ Mapping from other character sets
In certain circumstances it will be desirable to map from a wider character set
onto the limited character set allowed in a user ID localpart. Examples include
a homeserver creating a user ID for a new user based on their chosen login ID,
or a bridge mapping user ids from another protocol.
a homeserver creating a user ID for a new user based on the username passed to
``/register``, or a bridge mapping user ids from another protocol.
.. TODO-spec
We need to better define the mechanism by which homeservers can allow users
to have non-Latin usernames.
Implementations are free to do this mapping however they choose. Since the user
ID is opaque except to the implementation which created it, the only