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:
parent
baa7a80b68
commit
51a3e0f33b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue