From 334358555615dddc8be0760a9bfc566dc8d4ed0a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 7 Sep 2019 19:29:24 -0700 Subject: [PATCH] modules/console: Add local_only() related information to room top. --- modules/console.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/console.cc b/modules/console.cc index 7fc515b21..74f91d08c 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -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 << "version: " << m::version(version_buf, room_id) << 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 << "servers: " << m::room::origins{room_id}.count() << std::endl;