mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 14:21:19 +00:00
parent
b1e121b5ba
commit
ed95c61bca
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ pub async fn send_new_applicant_email_to_admins(
|
|||
for admin in &admins {
|
||||
let email = &admin.local_user.email.clone().expect("email");
|
||||
let lang = get_interface_language_from_settings(admin);
|
||||
let subject = lang.new_application_subject(applicant_username, &settings.hostname);
|
||||
let subject = lang.new_application_subject(&settings.hostname, applicant_username);
|
||||
let body = lang.new_application_body(applications_link);
|
||||
send_email(&subject, email, &admin.person.name, &body, settings)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue