Matrix User IDs are sent incorrectly
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Write an eMail with a Matrix user ID, e.g. @user:matrix.server.org.
- Send eMail.
- The server / host part of the user ID is interpreted and written as a webserver: @user:https://matrix.server.org. (With
https://and the creation of a link.) - The changed user ID replaces the original user ID in the E-Mail which is sent to the receiver.
Expected behavior
I'd expect that Matrix user IDs are sent unchanged.
Actual behavior
See "Steps to reproduce".
Mail app version
5.2.0
Nextcloud version
31.0.7
Mailserver or service
independent of mail server used
Operating system
Debian 12.11
PHP engine version
PHP 8.3
Nextcloud memory caching
Redis
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Nextcloud Mail app with a message containing @user:matrix.server.org, then trace where the Matrix ID becomes a linked https:// address. Done means the outgoing email preserves the original Matrix user ID unchanged; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100