X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=lib%2FPublicInbox%2FInbox.pm;h=617b692b14ca10688c57ce84c9148a56a1340940;hp=186eb420255e481c8adc5a3faea0d98c433f1ac5;hb=46742d95647c7a80cb2f60d5c134717dd91e22e2;hpb=3b1b7abf814dbc7f2a737b2ca0e12b0fa518ff44 diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index 186eb420..617b692b 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -7,7 +7,7 @@ use strict; use warnings; use PublicInbox::Git; use PublicInbox::MID qw(mid2path); -use PublicInbox::MIME; +use PublicInbox::Eml; # Long-running "git-cat-file --batch" processes won't notice # unlinked packs, so we need to restart those processes occasionally. @@ -328,7 +328,7 @@ sub msg_by_smsg ($$;$) { sub smsg_mime { my ($self, $smsg, $ref) = @_; if (my $s = msg_by_smsg($self, $smsg, $ref)) { - $smsg->{mime} = PublicInbox::MIME->new($s); + $smsg->{mime} = PublicInbox::Eml->new($s); return $smsg; } }