diff options
author | Eric Wong <e@80x24.org> | 2021-09-03 08:54:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-03 08:57:36 +0000 |
commit | 42420897bd81bf5664d5a93c5069dda4cb0459f1 (patch) | |
tree | ee1146f0d7e4d8b530989ff2d0f871355b7508b2 /lib/PublicInbox/NetWriter.pm | |
parent | a3ad598c92039fae4a78354be9c33fff5328d7db (diff) | |
download | public-inbox-42420897bd81bf5664d5a93c5069dda4cb0459f1.tar.gz |
xt/net_writer-imap.t was completely broken in recent months and I completely forgot this test. net->add_url still only accepts bare scalars (and not scalar refs), so we must set that up properly. Furthermore, our changes to do FLAGS-only synchronization in lei of old messages was causing us to not handle FLAGS properly for the test.
Diffstat (limited to 'lib/PublicInbox/NetWriter.pm')
-rw-r--r-- | lib/PublicInbox/NetWriter.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/NetWriter.pm b/lib/PublicInbox/NetWriter.pm index 82288e6b..629a752a 100644 --- a/lib/PublicInbox/NetWriter.pm +++ b/lib/PublicInbox/NetWriter.pm @@ -26,6 +26,8 @@ sub imap_append { die "APPEND $folder: $@"; } +sub folder_select { 'select' } # for PublicInbox::NetReader + sub imap_delete_all { my ($self, $uri) = @_; my $mic = $self->mic_for_folder($uri) or return; |