mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
modules/console: Add local_only() related information to room top.
This commit is contained in:
parent
e66bb73c4c
commit
3343585556
1 changed files with 3 additions and 0 deletions
|
@ -7770,6 +7770,9 @@ console_cmd__room__top(opt &out, const string_view &line)
|
||||||
out << "display name: " << m::display_name(display_buf, room_id) << std::endl;
|
out << "display name: " << m::display_name(display_buf, room_id) << std::endl;
|
||||||
out << "version: " << m::version(version_buf, room_id) << std::endl;
|
out << "version: " << m::version(version_buf, room_id) << std::endl;
|
||||||
out << "joined: " << m::room::members{room_id}.count("join") << std::endl;
|
out << "joined: " << m::room::members{room_id}.count("join") << std::endl;
|
||||||
|
out << "remote joined: " << std::boolalpha << m::remote_joined(room_id) << std::endl;
|
||||||
|
out << "local joined: " << std::boolalpha << m::local_joined(room_id) << std::endl;
|
||||||
|
out << "local only: " << std::boolalpha << m::local_only(room_id) << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
|
||||||
out << "servers: " << m::room::origins{room_id}.count() << std::endl;
|
out << "servers: " << m::room::origins{room_id}.count() << std::endl;
|
||||||
|
|
Loading…
Reference in a new issue