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

Synapse does not respect event order of spec /createRoom #11731

Open
matrixbot opened this issue Dec 19, 2023 · 0 comments
Open

Synapse does not respect event order of spec /createRoom #11731

matrixbot opened this issue Dec 19, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #11731.


https://github.com/matrix-org/synapse/blob/890c0c041d2d7f84525ad2031caabc74af9feba7/synapse/handlers/room.py#L820-L822

If no power_level_content_override event is given in step 3, one needs to create a default power levels event. The power levels event from initial_state can only be used in step 6 and needs to be auth checked against the power levels event from step 3.

https://spec.matrix.org/v1.1/client-server-api/#post_matrixclientv3createroom
image

@matrixbot matrixbot changed the title Dummy issue Synapse does not respect event order of spec /createRoom Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant