]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
rename PublicInbox::SearchMsg => PublicInbox::Smsg
[public-inbox.git] / lib / PublicInbox / Feed.pm
index 0bd458c94e2bdd05564f386136d0ddacbfaca83f..07347c63239f6af428241d12a23789c75ee99bed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2013-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
 # Used for generating Atom feeds for web-accessible mailing list archives.
@@ -8,7 +8,7 @@ use warnings;
 use PublicInbox::MIME;
 use PublicInbox::View;
 use PublicInbox::WwwAtomStream;
-use PublicInbox::SearchMsg; # this loads w/o Search::Xapian
+use PublicInbox::Smsg; # this loads w/o Search::Xapian
 
 sub generate_i {
        my ($ctx) = @_;
@@ -142,7 +142,7 @@ sub recent_msgs {
        }
 
        $ctx->{next_page} = "r=$last_commit" if $last_commit;
-       [ map { bless {blob => $_ }, 'PublicInbox::SearchMsg' } @oids ];
+       [ map { bless {blob => $_ }, 'PublicInbox::Smsg' } @oids ];
 }
 
 1;