diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go index 4e16f7fc7..3e837c864 100644 --- a/clientapi/routing/createroom.go +++ b/clientapi/routing/createroom.go @@ -500,6 +500,8 @@ func createRoom( // Build some stripped state for the invite. var globalStrippedState []gomatrixserverlib.InviteV2StrippedState for _, event := range builtEvents { + // Chosen events from the spec: + // https://spec.matrix.org/v1.3/client-server-api/#stripped-state switch event.Type() { case gomatrixserverlib.MRoomCreate: fallthrough