matrix-org / matrix-org/matrix-js-sdk

matrix-js-sdk does not use the stable name for `state_after`

Open
#5,362 2 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.