]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SearchIdx.pm
search: avoid mindlessly calling body_set
[public-inbox.git] / lib / PublicInbox / SearchIdx.pm
index 86be9ed49811722bd64f667e002a41c18bdf300b..0e2d225e52e945ecab134aeff3fc5af462b2822f 100644 (file)
@@ -188,7 +188,6 @@ sub add_message {
 
                        my (@orig, @quot);
                        my $body = $part->body;
-                       $part->body_set('');
                        my @lines = split(/\n/, $body);
                        while (defined(my $l = shift @lines)) {
                                if ($l =~ /^>/) {