0
0
Fork 0
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:
Jason Volk 2019-09-07 19:29:24 -07:00
parent e66bb73c4c
commit 3343585556

View file

@ -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;