about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-16 07:43:45 +0600
committerEric Wong <e@80x24.org>2021-03-16 06:32:07 -0400
commita025af04c1fc35de7c5e2d5c893b28923674ebd9 (patch)
treeceb9664f106a6db9cab0bceb2190232cf2b93b68 /lib
parent327a4c0a44ab301922a2b2829d423d2e9fc18faf (diff)
downloadpublic-inbox-a025af04c1fc35de7c5e2d5c893b28923674ebd9.tar.gz
It's redundant and the same functionality is in MdirReader.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LeiStore.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index 10fa9c54..771443db 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -159,14 +159,6 @@ sub remove_eml_keywords {
         \@docids;
 }
 
-# TODO: move this to MdirReader, maybe...
-# cf: https://cr.yp.to/proto/maildir.html
-my %c2kw = ('D' => 'draft', F => 'flagged', R => 'answered', S => 'seen');
-sub maildir_keywords {
-        $_[-1] =~ /:2,([A-Z]+)\z/i ?
-                sort(map { $c2kw{$_} // () } split(//, $1)) : ();
-}
-
 sub add_eml {
         my ($self, $eml, @kw) = @_;
         my $im = $self->importer; # may create new epoch