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:
parent
03e6a8a867
commit
6a6f31315b
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue