]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/models.py
Add Message-Id to xmlrpc patch_get_mbox headers
[patchwork] / apps / patchwork / models.py
index fa213dc03e8dfa9a068e11f780d581a358acdb4d..75dc041dae49ca10bdfd9060c091bec5aa33526d 100644 (file)
@@ -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