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" => {
|
"list_appservices" => {
|
||||||
db.admin.send(AdminCommand::ListAppservices);
|
db.admin.send(AdminCommand::ListAppservices);
|
||||||
}
|
}
|
||||||
|
"count_local_users" => {
|
||||||
|
db.admin.send(AdminCommand::CountUsers);
|
||||||
|
}
|
||||||
"get_auth_chain" => {
|
"get_auth_chain" => {
|
||||||
if args.len() == 1 {
|
if args.len() == 1 {
|
||||||
if let Ok(event_id) = EventId::parse_arc(args[0]) {
|
if let Ok(event_id) = EventId::parse_arc(args[0]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue