element-hq / element-hq/element-web
Start a chat dialog allows creating a chat with invalid MXID formats
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description

Element allows you to try and create a room with whatever interpretation of a username you'd like. Here I'm attempting to create a chat with someone with an invalid domain name (`amorgan:xyz` vs `amorgan.xyz`). Element will accept this, and try to create room with this malformed MXID.
This requires the homeserver to be the one to respond with an error, which Element will inform the user about in a slightly vague manner.

It would be nice if Element could validate input, either upon hitting "Go" or upon creating a pill, and giving the user a clear error message as to what (and which pill) is wrong.
Contributor guide
Assessment
This issue has not been assessed yet.