matrix-org / matrix-org/matrix-spec
Add implementation note for how to parse room, alias, and user IDs
Open
clarification
help wanted
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
Room IDs should be treated as fully opaque and not parsed. Aliases and user IDs can be parsed with something like:
```
const parts = id.split(':');
const localpart = parts[0];
const domain = parts.slice(1).join(':');
```
Contributor guide
Research direction
No file or test is named; locate the Matrix specification section defining room, alias, and user IDs. Add an implementation note stating that room IDs are opaque while aliases and user IDs may be split at the first colon, and verify the wording matches the specification.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100