aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-13 13:42:27 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-13 13:42:27 -0500
commit7b3e580fe4710b82cd8d971512ed4733a3909453 (patch)
treeed4ac85c04f1f0a32696fed32d08e1f1cd525682 /themes
parent1565a335db42bb68c4cf185390c2ccb498e854b5 (diff)
downloadalps-7b3e580fe4710b82cd8d971512ed4733a3909453.tar.gz
alps-7b3e580fe4710b82cd8d971512ed4733a3909453.zip
Workaround for MISSING_MAILBOX@MISSING_DOMAIN
Diffstat (limited to 'themes')
-rw-r--r--themes/alps/compose.html10
1 files changed, 7 insertions, 3 deletions
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 @@
<input type="email" name="from" id="from" value="{{.Message.From}}" />
<label>To</label>
+ {{ $to := .Message.ToString }}
+ {{ if eq $to "MISSING_MAILBOX@MISSING_DOMAIN" }}
+ {{ $to = "" }}
+ {{ end }}
<input
type="email"
name="to"
id="to"
- value="{{.Message.ToString}}"
+ value="{{$to}}"
multiple
list="emails"
- {{ if not .Message.ToString }} autofocus{{ end }}
+ {{ if not $to }} autofocus{{ end }}
/>
<label>Subject</label>
@@ -33,7 +37,7 @@
name="subject"
id="subject"
value="{{.Message.Subject}}"
- {{ if .Message.ToString }} autofocus{{ end }}
+ {{ if $to }} autofocus{{ end }}
/>
<label>Attachments</label>