matrix-org / matrix-org/matrix-spec

Express a set of string patterns which could be resolved into URLs

Open
#568 0 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

Currently clients resolve urls that look like URLs, but there are times when you want to resolve things like MSC numbers or other string patterns which may have a meaning in a subset of rooms. For example, if someone says MSC1234 in the `#matrix-spec` room then I'd like my client to linkify the text to be `[MSC1234](https://github.com/matrix-org/matrix-doc/issues/1234)`.

This could probably be expressed in a state event(s) and would be opt-in for clients, but would reduce the amount of noise created by bots trying to be helpful by spitting links underneath messages.

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue's examples of MSC1234 resolution and its suggestion of opt-in state events for room-specific patterns. No file or test is named; the work is done only after the protocol representation, client opt-in behavior, and URL resolution expectations are agreed and documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.