From 2cae485e0d18d4b4a3056f8bc2ef0fdf59212694 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 17 Aug 2020 17:40:31 +0000 Subject: [PATCH] Don't show poll frequency on auto adjust --- src/Module/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 6425df8df..4a5aeefe4 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -558,7 +558,7 @@ class Contact extends BaseModule } $poll_interval = null; - if (in_array($contact['network'], [Protocol::FEED, Protocol::MAIL])) { + if ((($contact['network'] == Protocol::FEED) && !DI::config()->get('system', 'adjust_poll_frequency')) || ($contact['network']== Protocol::MAIL)) { $poll_interval = ContactSelector::pollInterval($contact['priority'], !$poll_enabled); }