diff --git a/modules/federation/event.cc b/modules/federation/event.cc index 26a982903..d9a91e45a 100644 --- a/modules/federation/event.cc +++ b/modules/federation/event.cc @@ -59,9 +59,17 @@ handle_get(client &client, m::get(event_id, buffer) }; + const json::value pdu + { + event + }; + return resource::response { - client, event + client, json::members + { + { "pdus", { &pdu, 1 } } + } }; }