mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-21 03:03:40 +00:00
Fix typo in structure name
This commit is contained in:
parent
4a3c9555b1
commit
955dd2c96d
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ type messagesReq struct {
|
||||||
backwardOrdering bool
|
backwardOrdering bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type messageResp struct {
|
type messagesResp struct {
|
||||||
Start string `json:"start"`
|
Start string `json:"start"`
|
||||||
End string `json:"end"`
|
End string `json:"end"`
|
||||||
Chunk []gomatrixserverlib.ClientEvent `json:"chunk"`
|
Chunk []gomatrixserverlib.ClientEvent `json:"chunk"`
|
||||||
|
@ -153,7 +153,7 @@ func OnIncomingMessagesRequest(
|
||||||
// Respond with the events.
|
// Respond with the events.
|
||||||
return util.JSONResponse{
|
return util.JSONResponse{
|
||||||
Code: http.StatusOK,
|
Code: http.StatusOK,
|
||||||
JSON: messageResp{
|
JSON: messagesResp{
|
||||||
Chunk: clientEvents,
|
Chunk: clientEvents,
|
||||||
Start: start.String(),
|
Start: start.String(),
|
||||||
End: end.String(),
|
End: end.String(),
|
||||||
|
|
Loading…
Reference in a new issue