0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 21:59:02 +02:00

modules/federation/send_join: Add required spec "origin" in response.

This commit is contained in:
Jason Volk 2019-03-06 14:00:12 -08:00
parent 0c38d78bba
commit 90752f1fb4

View file

@ -139,6 +139,12 @@ put__send_join(client &client,
// Second element is the object
json::stack::object data{top};
// Required. The resident server's DNS name.
json::stack::member
{
data, "origin", my_host()
};
// auth_chain
{
json::stack::array auth_chain_a