Add command count_local_users to database/rooms.rs

This commit is contained in:
Torsten Flammiger 2021-12-25 20:51:22 +01:00
parent 7c1b2625cf
commit 567cf6dbe9

View file

@ -1531,6 +1531,9 @@ impl Rooms {
"list_appservices" => {
db.admin.send(AdminCommand::ListAppservices);
}
"count_local_users" => {
db.admin.send(AdminCommand::CountUsers);
}
"get_auth_chain" => {
if args.len() == 1 {
if let Ok(event_id) = EventId::parse_arc(args[0]) {