matrix-org / matrix-org/matrix-spec

We need a way to discover custom permalink prefixes.

Open
#548 9 comments 0 reactions 0 assignees View on GitHub
A-Client-Server enhancement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

matrix-org/matrix-react-sdk#3500 is awesome, but currently relies on riot-web's config.json to find out what permalink prefix to use. this sucks for other clients (e.g. riot-ios or riot/android or others) which might connect to the server and need to know what prefix to intercept the links in-app.

We can't use matrix URLs for this given the use case for custom permalink prefixes is unfederated deployments, so instead we should specify a way via /info or similar to advertise the prefix that server recommends.

Contributor guide

Open the contributing guide

Research direction

Start by reading matrix-org/matrix-react-sdk#3500 and how riot-web currently uses config.json to discover custom permalink prefixes. Then review the Matrix specification around server information and /info, if applicable. Done means the specification defines an agreed mechanism for clients such as riot-ios and riot/android to discover the server-recommended prefix.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.