Add comment

This commit is contained in:
Neil Alexander 2022-08-16 11:29:36 +01:00
parent 7df07c21ec
commit f3e623eb73
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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