mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-05 03:38:51 +01:00
Add command count_local_users to database/rooms.rs
This commit is contained in:
parent
7c1b2625cf
commit
567cf6dbe9
1 changed files with 3 additions and 0 deletions
|
@ -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