modules/console: Display m.* state in room overview cmd rather than m.room.*

This commit is contained in:
Jason Volk 2023-03-23 18:53:52 -07:00
parent a8c16e0fd0
commit 3ec562ce0b
1 changed files with 2 additions and 2 deletions

View File

@ -9580,9 +9580,9 @@ console_cmd__room(opt &out, const string_view &line)
out << "top index: " << std::get<m::event::idx>(top) << std::endl;
out << std::endl;
out << "m.room state: " << std::endl;
out << "m. state: " << std::endl;
state.for_each(m::room::state::type_prefix{"m.room."}, [&out, &state]
state.for_each(m::room::state::type_prefix{"m."}, [&out, &state]
(const string_view &type, const string_view &state_key, const m::event::idx &event_idx)
{
assert(startswith(type, "m.room."));