From 7b3e580fe4710b82cd8d971512ed4733a3909453 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2020 13:42:27 -0500 Subject: Workaround for MISSING_MAILBOX@MISSING_DOMAIN --- themes/alps/compose.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'themes') diff --git a/themes/alps/compose.html b/themes/alps/compose.html index e81b7ae..854c4d2 100644 --- a/themes/alps/compose.html +++ b/themes/alps/compose.html @@ -17,14 +17,18 @@ + {{ $to := .Message.ToString }} + {{ if eq $to "MISSING_MAILBOX@MISSING_DOMAIN" }} + {{ $to = "" }} + {{ end }} @@ -33,7 +37,7 @@ name="subject" id="subject" value="{{.Message.Subject}}" - {{ if .Message.ToString }} autofocus{{ end }} + {{ if $to }} autofocus{{ end }} /> -- cgit v1.2.3