about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiWatch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2024-01-03 10:23:15 +0000
committerEric Wong <e@80x24.org>2024-01-04 18:37:33 +0000
commit3ee535737524782b6e0d392d5a526b63a0b878f2 (patch)
tree662d6cf02f3413965af28cf87cc350282d7dc83c /lib/PublicInbox/LeiWatch.pm
parente26488aef99f4b8b28e8bb925704529dbe7d8ae2 (diff)
downloadpublic-inbox-3ee535737524782b6e0d392d5a526b63a0b878f2.tar.gz
This should help us deal with MH sequence number packing and
invalidating mail_sync.sqlite3.
Diffstat (limited to 'lib/PublicInbox/LeiWatch.pm')
-rw-r--r--lib/PublicInbox/LeiWatch.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/PublicInbox/LeiWatch.pm b/lib/PublicInbox/LeiWatch.pm
index 35267b58..b30e5152 100644
--- a/lib/PublicInbox/LeiWatch.pm
+++ b/lib/PublicInbox/LeiWatch.pm
@@ -1,13 +1,12 @@
 # Copyright all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 
-# represents a Maildir or IMAP "watch" item
+# represents a Maildir, MH or IMAP "watch" item
 package PublicInbox::LeiWatch;
-use strict;
-use v5.10.1;
+use v5.12;
 use parent qw(PublicInbox::IPC);
 
-# "url" may be something like "maildir:/path/to/dir"
+# "url" may be something like "maildir:/path/to/dir" or "mh:/path/to/dir"
 sub new { bless { url => $_[1] }, $_[0] }
 
 1;