mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
modules/console: Move this branch to prevent any error'ing before it.
This commit is contained in:
parent
d70ef25711
commit
ed9d8d72ee
1 changed files with 8 additions and 8 deletions
|
@ -7152,6 +7152,14 @@ console_cmd__fed__event(opt &out, const string_view &line)
|
|||
request.wait(out.timeout);
|
||||
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
|
||||
{
|
||||
request
|
||||
|
@ -7253,14 +7261,6 @@ console_cmd__fed__public_rooms(opt &out, const string_view &line)
|
|||
request.wait(out.timeout);
|
||||
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
|
||||
{
|
||||
request
|
||||
|
|
Loading…
Reference in a new issue