Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

handlers/_base: don't allow room create event to be changed #596

Merged
merged 1 commit into from Mar 4, 2016

Conversation

Rugvip
Copy link

@Rugvip Rugvip commented Feb 22, 2016

Beginning of the m.room.create spec says

This is the first event in a room and cannot be changed.

This could arguably be interpreted as that specific event not being changed, or the m.room.create state as a whole. I chose to interpret it as the latter, which I also think makes sense, as it is currently possible to e.g. change the creator key of the create state.

In either case this is a spec bug as well.

@matrixbot
Copy link
Member

Can one of the admins verify this patch?

Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com>
@erikjohnston
Copy link
Member

@matrixbot ok to test

erikjohnston added a commit that referenced this pull request Mar 4, 2016
handlers/_base: don't allow room create event to be changed
@erikjohnston erikjohnston merged commit 44b084a into matrix-org:develop Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants