X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FContentId.pm;h=279eec0c1e06f742c2e49a7b91f9f5750b76c0a9;hb=dfed6cc6f2881c77478174dd5eb9b93352b1f1c1;hp=9082b7694002168467ab3d2610a36631348116d2;hpb=0a254eeea41cf5c0afde2ce188d7d367df5d4d95;p=public-inbox.git diff --git a/lib/PublicInbox/ContentId.pm b/lib/PublicInbox/ContentId.pm index 9082b769..279eec0c 100644 --- a/lib/PublicInbox/ContentId.pm +++ b/lib/PublicInbox/ContentId.pm @@ -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)}) {