diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 1798612108..fa8f748334 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -97,7 +97,7 @@ class OnePoll } // load current friends if possible. - if (!empty($contact['poco']) && ($contact['success_update'] > $contact['failure_update'])) { + if (!empty($contact['poco']) && !$contact['failed']) { if (!DBA::exists('glink', ["`cid` = ? AND updated > UTC_TIMESTAMP() - INTERVAL 1 DAY", $contact['id']])) { PortableContact::loadWorker($contact['id'], $importer_uid, 0, $contact['poco']); }