aboutsummaryrefslogtreecommitdiffstats
path: root/lib/templates/functions.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templates/functions.go')
-rw-r--r--lib/templates/functions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/templates/functions.go b/lib/templates/functions.go
index 37b014f5..ec11c1c7 100644
--- a/lib/templates/functions.go
+++ b/lib/templates/functions.go
@@ -145,7 +145,7 @@ func emails(addresses []*mail.Address) []string {
func mboxes(addresses []*mail.Address) []string {
e := make([]string, len(addresses))
for i, addr := range addresses {
- parts := strings.SplitN(addr.Address, "@", 1)
+ parts := strings.SplitN(addr.Address, "@", 2)
e[i] = parts[0]
}
return e