Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that join rules must be in auth events for knock events #2063

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Jan 24, 2025

Since it is necessary for passing the authorization rules (step 4.7.1).

It must have been forgotten when knocking was introduced in v1.1.

Pull Request Checklist

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

Since it is necessary for passing the authorization rules

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner January 24, 2025 20:47
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@richvdh
Copy link
Member

richvdh commented Feb 25, 2025

It looks to be that way in Synapse: https://github.com/element-hq/synapse/blob/068e22b4b7c5d38064cf04353de36fbc1ead6ba9/synapse/event_auth.py#L1163. It should have been in the MSC (MSC2403), but I guess it got forgotten, as you say.

@richvdh richvdh merged commit eedecf8 into matrix-org:main Feb 25, 2025
12 checks passed
@zecakeh zecakeh deleted the knock-join-rules branch February 25, 2025 21:09
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.

2 participants