From 46742d95647c7a80cb2f60d5c134717dd91e22e2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 7 May 2020 21:05:50 +0000 Subject: replace most uses of PublicInbox::MIME with Eml PublicInbox::Eml has enough functionality to replace the Email::MIME-based PublicInbox::MIME. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/View.pm') diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 3328c865..ef5f4b3a 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -56,7 +56,7 @@ sub msg_page { } else { $first = $ibx->msg_by_mid($mid) or return; } - my $mime = PublicInbox::MIME->new($first); + my $mime = PublicInbox::Eml->new($first); $ctx->{-obfs_ibx} = $ibx->{obfuscate} ? $ibx : undef; my $hdr = $ctx->{hdr} = $mime->header_obj; $ctx->{obuf} = _msg_page_prepare_obuf($hdr, $ctx, 0); -- cgit v1.2.3-24-ge0c7