element-hq / element-hq/element-android

Matrix IDs are not linkifyed correctly

Open
#2,446 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Matrix IDs are not linkifyed correctly when sent in a message.
Only the server part (after the `:` char) is clickable, making it a WWW link. E.g. When I type `@notramo:grin.hu` into a message, and send it, only grin.hu is linkifyed. When other users click it, it brings them to https://grin.hu instead of my Matrix profile.

**To Reproduce**
1. Type a Matrix ID in the message composer (e.g. Alice wants to send Charlie's address to Bob)
2. Send the message
3. Only the server part (after the `:` char) is clickable, making it a WWW link
4. Bob has to copy the address and enter it to the invitation dialog instead of simply clicking on it

**Expected behavior**
When someone types in a Matrix ID, it is clickable from the message, and opens the given user's profile.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.