]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/OnePoll.php
version 2021.03-dev
[friendica.git] / src / Worker / OnePoll.php
index 73971a8b1b59f8b81bdf7f47accc265106cf59f5..bb3dd97198fe5dde383f6c1436beae935ea23fb1 100644 (file)
@@ -56,7 +56,7 @@ class OnePoll
 
                // We never probe mail contacts since their probing demands a mail from the contact in the inbox.
                // We don't probe feed accounts by default since they are polled in a higher frequency, but forced probes are okay.
-               if (!in_array($contact['network'], [Protocol::MAIL, Protocol::FEED]) || ($force && ($contact['network'] == Protocol::FEED))) {
+               if ($force && ($contact['network'] == Protocol::FEED)) {
                        $success = Contact::updateFromProbe($contact_id);
                } else {
                        $success = true;