Closed matrixbot closed 2 weeks ago
This comment was originally posted by @bones-was-here at https://github.com/matrix-org/dendrite/issues/2914#issuecomment-1352408749.
How are you able to log in with an uppercase char?
I still patch the source to support very old accounts https://github.com/matrix-org/dendrite/issues/2073#issuecomment-1047934258
This comment was originally posted by @deepbluev7 at https://github.com/matrix-org/dendrite/issues/2914#issuecomment-1360685157.
@bones-was-here I just passed "Bob" as the login username and it worked. The actual useraccount in the database is lower case, since it is lowercased on registration and login, but the signed in user is treated as if the localpart was uppercase.
This issue was originally created by @nico-famedly at https://github.com/matrix-org/dendrite/issues/2914.
Background information
go version
:Description
Bob
instead ofbob
, I get a device list update for@Bob:localhost
instead of@bob:localhost
with only one entrySteps to reproduce
@Bob:servername
instead of@bob:servername
I would expect device lists to always use the exact mxid instead of the casing from /login.
Logs:
Notice how the latter does not include the devices form "bob" and uses the wrong mxid in the response.