neomutt: fix SMTP port string

Fix the SMTP port string from #1374 by properly converting the integer
port into a string.

PR #1377
This commit is contained in:
Siva Mahadevan 2020-07-03 23:22:16 -04:00 committed by Robert Helgesson
parent 7dc322c1eb
commit 5f189acce4
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ let
} else
let
smtpProto = if smtp.tls.enable then "smtps" else "smtp";
smtpPort = if smtp.port != null then ":${smtp.port}" else "";
smtpPort = if smtp.port != null then ":${toString smtp.port}" else "";
smtpBaseUrl =
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
in {