https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
312ac73
)
Don't show poll frequency on auto adjust
author
Michael
<heluecht@pirati.ca>
Mon, 17 Aug 2020 17:40:31 +0000
(17:40 +0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 17 Aug 2020 17:40:31 +0000
(17:40 +0000)
src/Module/Contact.php
patch
|
blob
|
history
diff --git
a/src/Module/Contact.php
b/src/Module/Contact.php
index
6425df8
..
4a5aeef
100644
(file)
--- 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);
}