mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
modules/console: Separate and label auth/state in state_ids cmd output.
This commit is contained in:
parent
f46886e0b8
commit
d59f5c40ad
1 changed files with 4 additions and 0 deletions
|
@ -8469,9 +8469,13 @@ console_cmd__fed__state_ids(opt &out, const string_view &line)
|
||||||
response["pdu_ids"]
|
response["pdu_ids"]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
out << "AUTH:" << std::endl;
|
||||||
for(const string_view &event_id : auth_chain)
|
for(const string_view &event_id : auth_chain)
|
||||||
out << unquote(event_id) << std::endl;
|
out << unquote(event_id) << std::endl;
|
||||||
|
|
||||||
|
out << std::endl;
|
||||||
|
|
||||||
|
out << "STATE:" << std::endl;
|
||||||
for(const string_view &event_id : pdus)
|
for(const string_view &event_id : pdus)
|
||||||
out << unquote(event_id) << std::endl;
|
out << unquote(event_id) << std::endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue