mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
response from /send_join now use gomatrixserverlib.RespSendJoin
This commit is contained in:
parent
86e65bb22d
commit
b7e91abfe2
|
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue