about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:04:24 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commit1d6c44968bac13bafcd1b056d67261faee52519d (patch)
tree78b453f84798908dc113d562d13b5d40ec5df6b4 /lib
parent1dacadf3328241e7c4a378c4566c497d1e33326b (diff)
downloadpublic-inbox-1d6c44968bac13bafcd1b056d67261faee52519d.tar.gz
Since we only support read-only operation, we can't save
subscriptions requested by clients.  So just list no inboxes as
subscribed, some MUAs may blindly try to fetch everything its
subscribed to.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/IMAP.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/IMAP.pm b/lib/PublicInbox/IMAP.pm
index 2282e3ce..51ab8b8c 100644
--- a/lib/PublicInbox/IMAP.pm
+++ b/lib/PublicInbox/IMAP.pm
@@ -497,6 +497,11 @@ sub cmd_list ($$$$) {
         \(join('', @$l, "$tag OK List done\r\n"));
 }
 
+sub cmd_lsub ($$$$) {
+        my (undef, $tag) = @_; # same args as cmd_list
+        "$tag OK Lsub done\r\n";
+}
+
 sub eml_index_offs_i { # PublicInbox::Eml::each_part callback
         my ($p, $all) = @_;
         my ($eml, undef, $idx) = @$p;