mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
Return the requested events in client event format
Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
ee78aaf246
commit
49c0478e6e
|
|
@ -117,7 +117,7 @@ func GetEvent(
|
|||
if allowed {
|
||||
return util.JSONResponse{
|
||||
Code: http.StatusOK,
|
||||
JSON: r.requestedEvent,
|
||||
JSON: gomatrixserverlib.ToClientEvent(r.requestedEvent, gomatrixserverlib.FormatAll),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue