element-hq / element-hq/element-android

Handle non-spec-compliant matrix.to links

Open
#2,552 1 comment 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**
Currently, clicking on a faulty matrix.to link such as [https://matrix.to/#cctg:bubu1.eu](https://matrix.to/#cctg:bubu1.eu) opens Element, but nothing happens.
The spec-compliant form of the link would be https://matrix.to/#/#cctg:bubu1.eu

**To Reproduce**
Steps to reproduce the behavior:
1. Click on https://matrix.to/#cctg:bubu1.eu on mobile.

**Expected behavior**
There should be an error message, saying "This link is invalid."

First described in https://github.com/matrix-org/matrix.to/issues/179

**My setup**
Android 10, Element 1.0.11, Chrome.

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.