mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
modules/console: Add noparse option to fed event.
This commit is contained in:
parent
4519c72ff4
commit
bbdf21e11a
1 changed files with 8 additions and 0 deletions
|
@ -7263,6 +7263,14 @@ console_cmd__fed__public_rooms(opt &out, const string_view &line)
|
||||||
request.wait(out.timeout);
|
request.wait(out.timeout);
|
||||||
request.get();
|
request.get();
|
||||||
|
|
||||||
|
// Use this option to debug from the actual http response
|
||||||
|
// content sent from the remote without any further action.
|
||||||
|
if(has(op, "noparse"))
|
||||||
|
{
|
||||||
|
out << string_view{request.in.content} << std::endl;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
const json::object &response
|
const json::object &response
|
||||||
{
|
{
|
||||||
request
|
request
|
||||||
|
|
Loading…
Reference in a new issue