diff options
author | Eric Wong <e@80x24.org> | 2017-10-03 19:43:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-10-03 20:00:41 +0000 |
commit | 38c481a5438593cff686709493a70b8a6b3033d1 (patch) | |
tree | c288246c52611759bfddcbb4bb371a3bd1bb789e /lib/PublicInbox/Search.pm | |
parent | 2aa29ee6a35f5be2d76c39ccc50bf7a34075e2bd (diff) | |
download | public-inbox-38c481a5438593cff686709493a70b8a6b3033d1.tar.gz |
Since we attempt to fill in threads by Subject, our thread skeletons can cross actual thread IDs, leading to the possibility of false ghosts showing up in the skeleton. Try to fill in the ghosts as well as possible by performing a message lookup.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r-- | lib/PublicInbox/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index c7c5455d..25ab8d52 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -300,7 +300,7 @@ sub lookup_mail { # no ghosts! my ($self, $mid) = @_; retry_reopen($self, sub { my $smsg = lookup_message($self, $mid) or return; - PublicInbox::SearchMsg->load_doc($smsg->{doc}); + $smsg->load_expand; }); } |