From 5d97076008e1c2295607020cfae2970ee4145c33 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 24 Apr 2019 17:11:38 -0700 Subject: [PATCH] modules/federation/state_ids: Add non-spec optimization query parameters. --- modules/federation/state_ids.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/federation/state_ids.cc b/modules/federation/state_ids.cc index 3a41e5600..10fab4399 100644 --- a/modules/federation/state_ids.cc +++ b/modules/federation/state_ids.cc @@ -81,6 +81,7 @@ get__state_ids(client &client, json::stack::object top{out}; // auth_chain + if(request.query.get("auth_chain", true)) { json::stack::array auth_chain { @@ -99,6 +100,7 @@ get__state_ids(client &client, } // pdu_ids + if(request.query.get("pdu_ids", true)) { json::stack::array pdu_ids {