]> Sergey Matveev's repositories - public-inbox.git/commit
content_hash: skip Sender for cross posted messages
authorEric Wong <e@80x24.org>
Sat, 30 Jan 2021 05:41:09 +0000 (23:41 -0600)
committerEric Wong <e@80x24.org>
Sun, 31 Jan 2021 02:11:06 +0000 (02:11 +0000)
commit39a85f0d21e7effa94109ca2dac292e110345a15
tree407782bd957e9751b7e6c57633572552e0baf263
parent12a067a41430f579f5a3cea4e2d027242e604f72
content_hash: skip Sender for cross posted messages

This regression was introduced long ago and matches behavior
originally specified in the comments.  It makes a noticeable
improvement with search results using -extindex ("all") and
lei results with multiple inboxes.

Update some style bits at the top of the test case while
we're at it.

Fixes: f0ef0a56a8957d6f ("v2: improve deduplication checks")
lib/PublicInbox/ContentHash.pm
t/content_hash.t