This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Cannot start a chat with a user if domain contains uppercases #1999
Open
Description
When we try to start a chat with (or invite in a room) a user identifier whose domain contains uppercases, we get an error HTTP 401 {"errcode":"M_UNKNOWN","error":"Unauthorized"}
.
For example, we can start a chat with @riotuser6:matrix.org
but we can't with @riotuser6:Matrix.org
. An empty room is created but the user is not invited and we get the error above.
In that case, on iOS and Android, we display "Unauthorized" and the web client displays the error below: