diff options
author | Eric Wong <e@80x24.org> | 2024-01-03 10:23:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-01-04 18:37:33 +0000 |
commit | 3ee535737524782b6e0d392d5a526b63a0b878f2 (patch) | |
tree | 662d6cf02f3413965af28cf87cc350282d7dc83c /lib/PublicInbox/LeiWatch.pm | |
parent | e26488aef99f4b8b28e8bb925704529dbe7d8ae2 (diff) | |
download | public-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.pm | 7 |
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; |