From 3d807d7921ac32fca7e01c008412f0f46d96d076 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 17 Sep 2009 13:23:09 +0200 Subject: Add Message-Id to xmlrpc patch_get_mbox headers While trying to utilize patchwork for my daily workflow I noticed that the xmlrpc patch_get_mbox function does not add the original message id to the headers. That forces me to look it up with the browser which is a major PITA. Add Message-Id to the headers. Signed-off-by: Thomas Gleixner Signed-off-by: Jeremy Kerr --- apps/patchwork/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') diff --git a/apps/patchwork/models.py b/apps/patchwork/models.py index fa213dc..75dc041 100644 --- a/apps/patchwork/models.py +++ b/apps/patchwork/models.py @@ -266,6 +266,7 @@ class Patch(models.Model): time.mktime(self.date.utctimetuple())) mail['From'] = unicode(self.submitter) mail['X-Patchwork-Id'] = str(self.id) + mail['Message-Id'] = self.msgid mail.set_unixfrom('From patchwork ' + self.date.ctime()) return mail -- cgit v1.2.3