[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb bcab2b6 2/4: Always ignore "undisclosed recipients
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb bcab2b6 2/4: Always ignore "undisclosed recipients" string in message headers |
Date: |
Sun, 3 Oct 2021 13:20:49 -0400 (EDT) |
branch: externals/ebdb
commit bcab2b61a4f762a1889e29ef2ff7e691504e8003
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Always ignore "undisclosed recipients" string in message headers
* ebdb-mua.el (ebdb-get-address-components): No one's going to create
a record for that.
---
ebdb-mua.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ebdb-mua.el b/ebdb-mua.el
index e72a2fd..5fc4002 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -720,7 +720,9 @@ are discarded as appropriate."
"@"
(nth 1 (split-string mail "@"))))
mail-list))
- (ebdb-mua-test-headers (car headers) address
ignore-address))
+ (not (string-match-p "undisclosed recipients" mail))
+ (ebdb-mua-test-headers
+ (car headers) address ignore-address))
;; Add each address only once. (Use MAIL-LIST for book
keeping.)
;; Thus if we care about whether an address gets associated
with
;; one or another header, the order of elements in