mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-28 15:35:36 +00:00
Add command count_local_users to database/rooms.rs
This commit is contained in:
parent
7c1b2625cf
commit
567cf6dbe9
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue