-
Notifications
You must be signed in to change notification settings - Fork 379
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
MSC4123: Allow knock
-> join
transition
#4123
Conversation
Signed-off-by: Matthias Ahouansou <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zecakeh pointed out that these transitions are already allowed according to the auth rules
As long as the user isn't banned, rule 4.3.6 allows joining if join_rule
is public
regardless of current membership, and rule 4.3.5.3 does the same for restricted rooms if the authorised via user key is valid.
So it seems like the table and the graph in the client-server API are just wrong and can be fixed without an MSC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And apparently ¼ of the spec PR already exists: matrix-org/matrix-spec#1709 (missing parts: knock -> join for public rooms in the graph, and updating the table for both cases)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have to ask if this has been confirmed to be correct behavior so we arent walking straight into another Knock Invite mess. Like im not taking a stance on if this needs a MSC or not just asking that we make sure we arent walking into another mess of that magnitude.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruma (and hence Conduit) already allowed the knock
-> join
transition, not sure about Synapse and Dendrite.
As per #4123 (comment) |
ruma (and hence conduit) already allowed the `knock` -> `join` transition, not sure about synapse and dendrite.
|
Rendered