diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Archiver/pipermail.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index cfa4301e..3e5ead66 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -664,8 +664,12 @@ class T: else: # Get the oldest article with a matching subject, and # assume this is a follow-up to that article - parentID = self.database.getOldestArticle(archive, - article.subject) + # But, use the subject that's in the database + if article.decoded.has_key('stripped'): + subject = article.decoded['stripped'].lower() + else: + subject = article.subject.lower() + parentID = self.database.getOldestArticle(archive, subject) if parentID and not self.database.hasArticle(archive, parentID): parentID = None |