mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/console: Show joined members count in room top.
This commit is contained in:
parent
198d3ff884
commit
2ad1c3acb9
1 changed files with 1 additions and 0 deletions
|
@ -7572,6 +7572,7 @@ console_cmd__room__top(opt &out, const string_view &line)
|
|||
out << "top index: " << std::get<m::event::idx>(top) << std::endl;
|
||||
out << "top depth: " << std::get<int64_t>(top) << std::endl;
|
||||
out << "top event: " << std::get<m::event::id::buf>(top) << std::endl;
|
||||
out << "joined: " << m::room::members{room_id}.count("join") << std::endl;
|
||||
out << std::endl;
|
||||
|
||||
state.for_each(m::room::state::types{[&out, &state]
|
||||
|
|
Loading…
Reference in a new issue