mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-30 22:43:48 +03:00
Fix typo and remove unneeded newline
This commit is contained in:
parent
a69eb277d4
commit
8d51359668
1 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,7 @@ impl Admin {
|
|||
|
||||
match event {
|
||||
AdminCommand::ListLocalUsers => {
|
||||
// collect all local users
|
||||
// collect local users only
|
||||
let users = guard.users.iter_locals();
|
||||
|
||||
let mut msg: String = format!("Found {} local user account(s):\n", users.len());
|
||||
|
@ -104,7 +104,6 @@ impl Admin {
|
|||
// send number of local users as plain text:
|
||||
// TODO: send as Markdown
|
||||
send_message(RoomMessageEventContent::text_plain(&msg), guard, &state_lock);
|
||||
|
||||
}
|
||||
AdminCommand::RegisterAppservice(yaml) => {
|
||||
guard.appservice.register_appservice(yaml).unwrap(); // TODO handle error
|
||||
|
|
Loading…
Reference in a new issue