0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

modules/federation/state_ids: Add non-spec optimization query parameters.

This commit is contained in:
Jason Volk 2019-04-24 17:11:38 -07:00
parent c2e22399ce
commit 5d97076008

View file

@ -81,6 +81,7 @@ get__state_ids(client &client,
json::stack::object top{out};
// auth_chain
if(request.query.get<bool>("auth_chain", true))
{
json::stack::array auth_chain
{
@ -99,6 +100,7 @@ get__state_ids(client &client,
}
// pdu_ids
if(request.query.get<bool>("pdu_ids", true))
{
json::stack::array pdu_ids
{