Describe the bug
When using a Matrix server whose server_name includes a port number (e.g., example.com:4224), Element X fails to create rooms. The room alias is generated as #roomname:example.com:4224, which the client's regex does not recognize as a valid room alias format.
Steps to reproduce
- Configure a Matrix server with server_name = "example.com:4224" (port number included)
- Log in to Element X using this server
- Attempt to create a new room
- Observe the error
Expected behavior
Element X should accept room aliases that include port numbers, as this is a valid Matrix server name format according to the Matrix specification.
Actual behavior
Room creation fails with an error indicating the room alias format is invalid.
Environment
Element X version: 26.04.2 (202604020)
Android version: 15
Device: Redmi Note 12 Turbo
Additional context
I am a student and not very familiar with these technical details. This issue report was drafted with the help of an AI assistant. I will try my best to provide any additional information if needed, but please note that I can only reply on weekends due to school commitments.
Thank you for your understanding!
Describe the bug
When using a Matrix server whose server_name includes a port number (e.g., example.com:4224), Element X fails to create rooms. The room alias is generated as #roomname:example.com:4224, which the client's regex does not recognize as a valid room alias format.
Steps to reproduce
Expected behavior
Element X should accept room aliases that include port numbers, as this is a valid Matrix server name format according to the Matrix specification.
Actual behavior
Room creation fails with an error indicating the room alias format is invalid.
Environment
Element X version: 26.04.2 (202604020)
Android version: 15
Device: Redmi Note 12 Turbo
Additional context
I am a student and not very familiar with these technical details. This issue report was drafted with the help of an AI assistant. I will try my best to provide any additional information if needed, but please note that I can only reply on weekends due to school commitments.
Thank you for your understanding!