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:
parent
c2e22399ce
commit
5d97076008
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue