reinstate

This commit is contained in:
Half-Shot 2020-05-08 16:43:29 +01:00
parent bb163e3d3c
commit 34088d8cfd

View file

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