about summary refs log tree commit homepage
path: root/lib/PublicInbox/NetWriter.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-03 08:54:27 +0000
committerEric Wong <e@80x24.org>2021-09-03 08:57:36 +0000
commit42420897bd81bf5664d5a93c5069dda4cb0459f1 (patch)
treeee1146f0d7e4d8b530989ff2d0f871355b7508b2 /lib/PublicInbox/NetWriter.pm
parenta3ad598c92039fae4a78354be9c33fff5328d7db (diff)
downloadpublic-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.pm2
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;