Skip to content

Conversation

@Johennes
Copy link
Contributor

@Johennes Johennes commented Oct 31, 2025

The current text in the spec appears contradictory to me because it requires servers to support the feature but also requires clients to handle the server not supporting it. It was clarified in the matrix-spec room that the intent was to allow usage of this feature without requiring the server to implement full support for Matrix 1.16.

What I think this means is that we want to allow clients to set use_state_after=true regardless of whether the server declares support for 1.16 in /versions. And only if a client does that, we want to require it handle the server not supporting the feature. This change tries to change the spec text accordingly.

It was also mentioned in the matrix-spec room that some servers declare support for a version without fully implementing it. The current spec for use_state_after would work in this case, too. I think we should not allow this, however, because it makes /versions somewhat useless and would require clients to infer what features the server actually supports everywhere.

Pull Request Checklist

Preview: https://pr2240--matrix-spec-previews.netlify.app

@Johennes Johennes force-pushed the johannes/state-after-ahead-of-time-usage branch from 52ea377 to 617804e Compare October 31, 2025 07:39
@Johennes Johennes marked this pull request as ready for review October 31, 2025 07:41
@Johennes Johennes requested a review from a team as a code owner October 31, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant