response from /send_join now use gomatrixserverlib.RespSendJoin

This commit is contained in:
behouba 2019-09-23 03:02:41 +03:00
parent 86e65bb22d
commit b7e91abfe2

View file

@ -176,9 +176,9 @@ func SendJoin(
return util.JSONResponse{ return util.JSONResponse{
Code: http.StatusOK, Code: http.StatusOK,
JSON: map[string]interface{}{ JSON: gomatrixserverlib.RespSendJoin{
"state": stateAndAuthChainRepsonse.StateEvents, StateEvents: stateAndAuthChainRepsonse.StateEvents,
"auth_chain": stateAndAuthChainRepsonse.AuthChainEvents, AuthEvents: stateAndAuthChainRepsonse.AuthChainEvents,
}, },
} }
} }