mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
modules/federation/send_join: Add required spec "origin" in response.
This commit is contained in:
parent
0c38d78bba
commit
90752f1fb4
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue