about summary refs log tree commit diff stats
path: root/worker/lib
diff options
context:
space:
mode:
Diffstat (limited to 'worker/lib')
-rw-r--r--worker/lib/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/lib/parse.go b/worker/lib/parse.go
index 288dade..fd744a7 100644
--- a/worker/lib/parse.go
+++ b/worker/lib/parse.go
@@ -145,7 +145,7 @@ func parseAddressList(h *mail.Header, key string) ([]*models.Address, error) {
 	var converted []*models.Address
 	addrs, err := h.AddressList(key)
 	if err != nil {
-		if hdr, err := h.Text(key); err != nil && strings.Contains(hdr, "@") {
+		if hdr, err := h.Text(key); err == nil {
 			return []*models.Address{&models.Address{
 				Name: hdr,
 			}}, nil