mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/federation/send_leave: Respond with so-called empty response.
This commit is contained in:
parent
b26d4fee7c
commit
0c38d78bba
1 changed files with 6 additions and 1 deletions
|
@ -108,9 +108,14 @@ put__send_leave(client &client,
|
||||||
event, vmopts
|
event, vmopts
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const json::array &response
|
||||||
|
{
|
||||||
|
"[200, {}]"
|
||||||
|
};
|
||||||
|
|
||||||
return resource::response
|
return resource::response
|
||||||
{
|
{
|
||||||
client, http::OK
|
client, http::OK, response
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue