0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 18:18:35 +02:00

modules/federation/query_auth: Stub a NOT_IMPLEMENTED for now because synapse doesn't use this.

This commit is contained in:
Jason Volk 2019-02-18 09:59:59 -08:00
parent 952f173204
commit 9314bd7b5b

View file

@ -65,8 +65,27 @@ post__query_auth(client &client,
url::decode(event_id, request.parv[1])
};
const json::array &auth_chain
{
request.at("auth_chain")
};
const json::array &missing
{
request["missing"]
};
const json::object &rejects
{
request["rejects"]
};
//
// This method appears to be unused by synapse.
//
return resource::response
{
client, http::NOT_FOUND
client, http::NOT_IMPLEMENTED
};
}