diff roundup/mailgw.py @ 3809:12fc9a8bd3e6

Fix bug in matching In-Reply-To header to existing Message-ID and add unit test.
author Erik Forsberg <forsberg@users.sourceforge.net>
date Sun, 21 Jan 2007 15:18:26 +0000
parents 63288c1e45b6
children ccd55dc53410
line wrap: on
line diff
--- a/roundup/mailgw.py	Tue Jan 16 10:16:08 2007 +0000
+++ b/roundup/mailgw.py	Sun Jan 21 15:18:26 2007 +0000
@@ -72,7 +72,7 @@
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception.
 
-$Id: mailgw.py,v 1.180 2006-12-19 01:13:31 richard Exp $
+$Id: mailgw.py,v 1.181 2007-01-21 15:18:26 forsberg Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -718,7 +718,7 @@
         # try in-reply-to to match the message if there's no nodeid
         inreplyto = message.getheader('in-reply-to') or ''
         if nodeid is None and inreplyto:
-            l = self.db.getclass('msg').stringFind(inreplyto=inreplyto)
+            l = self.db.getclass('msg').stringFind(messageid=inreplyto)
             if l:
                 nodeid = l[0]
 

Roundup Issue Tracker: http://roundup-tracker.org/