This commit is contained in:
Kegan Dougal 2020-07-24 17:49:04 +01:00
parent 2d4c984e62
commit bc886cbc7b

View file

@ -133,7 +133,7 @@ func OnIncomingStateTypeRequest(
var event *gomatrixserverlib.HeaderedEvent
if membershipRes.IsInRoom {
stateRes := api.QueryLatestEventsAndStateResponse{}
if err := rsAPI.QueryLatestEventsAndState(ctx, &api.QueryLatestEventsAndStateRequest{
if err = rsAPI.QueryLatestEventsAndState(ctx, &api.QueryLatestEventsAndStateRequest{
RoomID: roomID,
StateToFetch: []gomatrixserverlib.StateKeyTuple{
gomatrixserverlib.StateKeyTuple{