0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

modules/federation/event: Update event fetch method.

This commit is contained in:
Jason Volk 2018-03-02 02:17:30 -08:00
parent baa7a80b68
commit 51a3e0f33b

View file

@ -43,14 +43,14 @@ handle_get(client &client,
64_KiB
};
const json::object event
const m::event::fetch event
{
m::get(event_id, buffer)
event_id
};
const json::value pdu
{
event
static_cast<const m::event &>(event)
};
return resource::response