mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23: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{
|
||||
Code: http.StatusOK,
|
||||
JSON: map[string]interface{}{
|
||||
"state": stateAndAuthChainRepsonse.StateEvents,
|
||||
"auth_chain": stateAndAuthChainRepsonse.AuthChainEvents,
|
||||
JSON: gomatrixserverlib.RespSendJoin{
|
||||
StateEvents: stateAndAuthChainRepsonse.StateEvents,
|
||||
AuthEvents: stateAndAuthChainRepsonse.AuthChainEvents,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue