0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

modules/m_vm_fetch: Minor cleanup.

This commit is contained in:
Jason Volk 2020-04-16 18:53:18 -07:00
parent 10a1468676
commit 7b0f17368d

View file

@ -619,9 +619,14 @@ ircd::m::vm::fetch::prev(const event &event,
future.get() future.get()
}; };
const json::object content
{
result
};
const json::array &pdus const json::array &pdus
{ {
json::object(result).get("pdus") content["pdus"]
}; };
auto opts(*eval.opts); auto opts(*eval.opts);