]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ContentId.pm
content_id: do not take Message-Id into account
[public-inbox.git] / lib / PublicInbox / ContentId.pm
index 9082b7694002168467ab3d2610a36631348116d2..279eec0c1e06f742c2e49a7b91f9f5750b76c0a9 100644 (file)
@@ -21,7 +21,8 @@ sub content_digest ($) {
        # in SearchIdx, so treat them the same for this:
        my %seen;
        foreach my $mid (@{mids($hdr)}) {
-               $dig->add('mid: '.$mid);
+               # do NOT consider the Message-ID as part of the content_id
+               # if we got here, we've already got Message-ID reuse
                $seen{$mid} = 1;
        }
        foreach my $mid (@{references($hdr)}) {