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:
parent
7dc322c1eb
commit
5f189acce4
|
@ -111,7 +111,7 @@ let
|
||||||
} else
|
} else
|
||||||
let
|
let
|
||||||
smtpProto = if smtp.tls.enable then "smtps" else "smtp";
|
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 =
|
smtpBaseUrl =
|
||||||
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue