mirror of
https://github.com/matrix-construct/construct
synced 2024-07-08 19:48:36 +02:00
modules/federation/query_auth: Stub a NOT_IMPLEMENTED for now because synapse doesn't use this.
This commit is contained in:
parent
952f173204
commit
9314bd7b5b
|
@ -65,8 +65,27 @@ post__query_auth(client &client,
|
||||||
url::decode(event_id, request.parv[1])
|
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
|
return resource::response
|
||||||
{
|
{
|
||||||
client, http::NOT_FOUND
|
client, http::NOT_IMPLEMENTED
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue