From 21dfbfadf00c5e0007af110b37de55f9dd22a01e Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 2 Aug 2025 23:29:21 -0400 Subject: [PATCH] rm useless line --- bin/nexusbot.dart | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/bin/nexusbot.dart b/bin/nexusbot.dart index a56bc33..78a85f3 100644 --- a/bin/nexusbot.dart +++ b/bin/nexusbot.dart @@ -83,12 +83,12 @@ void main(List argsRaw) async { ); await mailClient.sendMessageBuilder( mail.MessageBuilder.prepareMultipartAlternativeMessage( - plainText: - """Your registration for Federated Nexus has been accepted! Your credentials are: + plainText: + """Your registration for Federated Nexus has been accepted! Your credentials are: Username: ${registration.username}. Password: $password""", - htmlText: markdownToHtml( - """# Your registration for Federated Nexus has been accepted! + htmlText: markdownToHtml( + """# Your registration for Federated Nexus has been accepted! ## Your credentials are: - ### Username: ${registration.username}. - ### Password: $password @@ -96,11 +96,8 @@ Password: $password""", If you have any questions, check out [our documentation](https://federated.nexus/services/matrix/). If you have any issues, reply to this email.""", - ), - ) - ..subject = - "Your registration for Federated Nexus has been accepted!" - ..sender = from, + ), + )..subject = "Your registration for Federated Nexus has been accepted!", from: from, recipients: [ mail.MailAddress(registration.username, registration.email),