From 3ec562ce0b1571be756c5aac280b2f69e5affe75 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 23 Mar 2023 18:53:52 -0700 Subject: [PATCH] modules/console: Display m.* state in room overview cmd rather than m.room.* --- modules/console.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/console.cc b/modules/console.cc index 782f2b2d8..bc775f4ea 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -9580,9 +9580,9 @@ console_cmd__room(opt &out, const string_view &line) out << "top index: " << std::get(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."));