matrix-org / matrix-org/matrix-js-sdk
matrix-js-sdk does not use the stable name for `state_after`
Open
@dbkr is already working on this.
Since Sep 2, 2026.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
MSC4222, which describes the state_after query parameter for sync, was officially added to the Matrix specification in version 1.16, eight months ago. Despite this, matrix-js-sdk hardcodes the unstable org.matrix.msc4222 prefix in a number of places, and therefore will not use state_after with a server that doesn't understand the unstable prefix, even if the server supports the stable name.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.