mirror of
https://github.com/friendica/friendica
synced 2025-04-22 18:30:13 +00:00
Moved updating personal contacts to updatecontact
This commit is contained in:
parent
8d999f54d0
commit
9f96f3ef34
7 changed files with 62 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue