]> Sergey Matveev's repositories - public-inbox.git/commitdiff
searchidx: fix ghost root vivification
authorEric Wong <e@80x24.org>
Sun, 7 May 2017 10:49:00 +0000 (10:49 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 May 2017 10:58:08 +0000 (10:58 +0000)
Due to the asynchronous nature of SMTP, it is possible for the
root message of a thread (with no References/In-Reply-To)
to arrive last in a series.  We must preserve the thread_id
of the ghost message in this case, as we do when vivifiying
non-root ghosts.

Otherwise, this causes threads to be broken when the root
arrives last.


No differences found