aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/public/mailbox.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html
index ff2e3a9..51a78d8 100644
--- a/plugins/base/public/mailbox.html
+++ b/plugins/base/public/mailbox.html
@@ -27,7 +27,7 @@
<ul>
{{range .Messages}}
<li>
- <a href="{{.TextPart.URL false}}">
+ <a href="{{if .TextPart}}{{.TextPart.URL false}}{{else}}{{.URL}}{{end}}">
{{if .Envelope.Subject}}
{{.Envelope.Subject}}
{{else}}