element-hq / element-hq/element-android

Permalinked message with element: scheme as provided by matrix.to leads to "Your matrix.to link was malformed" error

Open
#8,334 1 comment 4 reactions 0 assignees View on GitHub
A-Links A-Matrix.to O-Occasional S-Major T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

Short story: Open a permalink to an article that's displayed in the browser.

Long story:

- Post an article to a (publicly readable, if that matters) Matrix group
- Obtain a permalink to that article
- Embed that permalink in a web site
- Open that web site in a browser
- Open the permalink
- At the matrix.to UI, choose to open with Element if not already pre-chosen.
- Activate the link behind "open it here" in the sentence "If you already have Element installed, you can open it here."
- At the pop up whether to open the `element://room/!.....` link, activate the open option.
- At the pop up which app to use, select "open with Element".

Several other people also have this problem, so I think it is readily reproducible, so I speculate a log is not needed. Should that be wrong, please tell me.

### Outcome

#### What did you expect?

Element is opened at that article.

#### What happened instead?

An error pop-up appears about the matrix.to link to be misformed.

### Your phone model

ONEPLUS A5010

### Operating system version

Lineage OS 20-20230411-NIGHTLY-dumpling (Android 13)

### Application version and app store

1.5.28 [40105280] (F-7c21842f), OLM 3.2.12 from F-Droid

### Homeserver

chat.darc.de

### Will you send logs?

No

### Are you willing to provide a PR?

No

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.