about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-25 02:03:14 +0000
committerEric Wong <e@80x24.org>2015-08-25 03:52:50 +0000
commitdbcc775378359cf41e57b9e9aa0ca6553722b479 (patch)
treed26c7133fc5f31148754d317373a00450679c3cf /lib/PublicInbox/Feed.pm
parent04939d5db13168e127c6b18dd366c21c16cf170a (diff)
downloadpublic-inbox-dbcc775378359cf41e57b9e9aa0ca6553722b479.tar.gz
mid: mid_compressed => mid_compress
Consistently name mid_* functions as verbs.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 969fc110..69ce59bd 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -9,7 +9,7 @@ use Date::Parse qw(strptime);
 use PublicInbox::Hval;
 use PublicInbox::GitCatFile;
 use PublicInbox::View;
-use PublicInbox::MID qw/mid_clean mid_compressed/;
+use PublicInbox::MID qw/mid_clean mid_compress/;
 use constant {
         DATEFMT => '%Y-%m-%dT%H:%M:%SZ', # atom standard
         MAX_PER_PAGE => 25, # this needs to be tunable
@@ -339,7 +339,7 @@ sub add_topic {
                         $header_obj = $mime->header_obj;
                 }
                 my $mid = $header_obj->header('Message-ID');
-                $mid = mid_compressed(mid_clean($mid));
+                $mid = mid_compress(mid_clean($mid));
                 $u = $enc_utf8->decode($u);
                 push @$order, [ $mid, $ts, $u, $subj ];
                 return 1;