0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

modules/console: Separate and label auth/state in state_ids cmd output.

This commit is contained in:
Jason Volk 2018-10-31 11:28:13 -07:00
parent f46886e0b8
commit d59f5c40ad

View file

@ -8469,9 +8469,13 @@ console_cmd__fed__state_ids(opt &out, const string_view &line)
response["pdu_ids"]
};
out << "AUTH:" << std::endl;
for(const string_view &event_id : auth_chain)
out << unquote(event_id) << std::endl;
out << std::endl;
out << "STATE:" << std::endl;
for(const string_view &event_id : pdus)
out << unquote(event_id) << std::endl;