]> Sergey Matveev's repositories - public-inbox.git/commit
search: favor In-Reply-To over last References iff IRT exists
authorEric Wong <e@80x24.org>
Sat, 10 Dec 2016 01:09:46 +0000 (01:09 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Dec 2016 03:23:38 +0000 (03:23 +0000)
commit86c018672f6bf9739a76489c8870c151d338fc15
tree311c12eed2abc2d08e806f3716fd8f0b7a392dbc
parentf99f9048cdac42509fbbc1f97e2af32fa3bffca6
search: favor In-Reply-To over last References iff IRT exists

Some email clients set the References headers backwards, so
trust the In-Reply-To header if (and only if) it exists and
is parseable as direct parent of the current message.

For affected repos, this will require reindexing (via
"public-inbox-index --reindex"), but there will be no
version bump for this bugfix.
lib/PublicInbox/SearchIdx.pm