This commit is contained in:
Half-Shot 2020-05-08 16:49:57 +01:00
parent bc6d8c5285
commit 40acec40f6

View file

@ -309,7 +309,7 @@ func buildInviteStrippedState(
gomatrixserverlib.NewInviteV2StrippedState(&input.Event.Event), gomatrixserverlib.NewInviteV2StrippedState(&input.Event.Event),
} }
// stateEvents = append(stateEvents, types.Event{Event: input.Event.Unwrap()}) stateEvents = append(stateEvents, types.Event{Event: input.Event.Unwrap()})
for _, event := range stateEvents { for _, event := range stateEvents {
inviteState = append(inviteState, gomatrixserverlib.NewInviteV2StrippedState(&event.Event)) inviteState = append(inviteState, gomatrixserverlib.NewInviteV2StrippedState(&event.Event))
} }