Skip to content

Commit

Permalink
modules/console: Display m.* state in room overview cmd rather than m…
Browse files Browse the repository at this point in the history
….room.*
  • Loading branch information
jevolk committed Mar 24, 2023
1 parent a8c16e0 commit 3ec562c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/console.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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."));
Expand Down

0 comments on commit 3ec562c

Please sign in to comment.