about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-16 00:26:52 +0000
committerEric Wong <e@80x24.org>2021-09-16 04:29:12 +0000
commit3690f0625fbfb75dcc73986d78abba738e9113a4 (patch)
treea14a9b4aca80b9b168bf8bfbeb49dd624b45ce64 /lib/PublicInbox/Config.pm
parentb4bc9aeed78078feae58d150970fe224f10098e3 (diff)
downloadpublic-inbox-3690f0625fbfb75dcc73986d78abba738e9113a4.tar.gz
This allows PublicInbox::WWW hosts to advertise the existence of
IMAP servers in addition to NNTP servers.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 5e7a9f2b..b3bf5d12 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -450,8 +450,9 @@ sub _fill_ibx {
         }
         # TODO: more arrays, we should support multi-value for
         # more things to encourage decentralization
-        for my $k (qw(address altid nntpmirror coderepo hide listid url
-                        infourl watchheader nntpserver)) {
+        for my $k (qw(address altid nntpmirror imapmirror
+                        coderepo hide listid url
+                        infourl watchheader nntpserver imapserver)) {
                 my $v = $self->{"$pfx.$k"} // next;
                 $ibx->{$k} = _array($v);
         }