0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

modules/m_vm_fetch: Fix field name.

This commit is contained in:
Jason Volk 2019-12-03 20:29:58 -08:00
parent 03e6a8a867
commit 6a6f31315b

View file

@ -478,16 +478,16 @@ ircd::m::vm::fetch::state_fetch(const event &event,
result.object["auth_chain_ids"]
};
const json::array &pdu_ids
{
result.object["pdu_ids"]
};
for(const json::string &auth_chain_id : auth_chain_ids)
each_state_id(auth_chain_id);
const json::array &pdus
{
result.object["pdus"]
};
for(const json::string &pdu : pdus)
each_state_id(pdu);
for(const json::string &pdu_id : pdu_ids)
each_state_id(pdu_id);
return true;
});