summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 16aa2c6..e61958a 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -607,6 +607,11 @@ class LoreMessage:
trailers = set()
for tname, tvalue in self.trailers:
+ # Don't do from-matching on certain trailers like Fixes:
+ if tname.lower() in ('fixes',):
+ trailers.add((tname, tvalue))
+ continue
+
tmatch = False
namedata = email.utils.getaddresses([tvalue])[0]
tfrom = re.sub(r'\+[^@]+@', '@', namedata[1].lower())