aboutsummaryrefslogtreecommitdiffstats
path: root/themes/sourcehut/mailbox.html
diff options
context:
space:
mode:
authorLibravatarLibravatar Gabriel A. Giovanini <[email protected]> 2023-09-10 22:04:20 +0200
committerLibravatarLibravatar Simon Ser <[email protected]> 2023-09-20 00:05:09 +0900
commit1e069e98c98f07e06e4994f22aa9f55d34de29be (patch)
tree8fa9efa90b19df9354beedc79eaa472e5e0f673d /themes/sourcehut/mailbox.html
parente4efb374a1a57cc00829e7b796b9a2f2ceeccd02 (diff)
downloadalps-1e069e98c98f07e06e4994f22aa9f55d34de29be.tar.gz
alps-1e069e98c98f07e06e4994f22aa9f55d34de29be.tar.bz2
alps-1e069e98c98f07e06e4994f22aa9f55d34de29be.zip
themes/sourcehut: fix sourcehut theme
With the newer version of `go-imap` some properties got renamed and sourcehut theme stop working.
Diffstat (limited to 'themes/sourcehut/mailbox.html')
-rw-r--r--themes/sourcehut/mailbox.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html
index e4bada5..e775b98 100644
--- a/themes/sourcehut/mailbox.html
+++ b/themes/sourcehut/mailbox.html
@@ -60,10 +60,10 @@
</span>
<span class="text-normal from">
{{ range .Envelope.From }}
- {{ if .PersonalName }}
- {{ .PersonalName }}
+ {{ if .Name }}
+ {{ .Name }}
{{ else }}
- {{ .MailboxName }}@{{ .HostName }}
+ {{ .Addr }}
{{ end }}
{{ end }}
</span>