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 events that MUST be created on /createRoom #2494

Closed
njouanin opened this issue Apr 10, 2020 · 1 comment · Fixed by #2571
Closed

Clarify events that MUST be created on /createRoom #2494

njouanin opened this issue Apr 10, 2020 · 1 comment · Fixed by #2571
Assignees
Labels
clarification An area where the spec could do with being more explicit client-server Client-Server API

Comments

@njouanin
Copy link

Client specs (currently 0.6.0) specifies events (and their order) that must be created on /createRoom call. This includes m.room.create, m.room.power_levels. It seems that the m.room.member (with state join) is not listed in this list. May be it should in order to tell that the room creator has joined the room.
This excellent article gives an example where m.room.member exists as the second event created in the room.
Could you clarify mandatory events list.

@turt2live
Copy link
Member

The membership event is implied because the spec requires that the room be kept valid. In order to send certain events, you must be a member of the room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification An area where the spec could do with being more explicit client-server Client-Server API
Projects
None yet
2 participants