Different check for being local
This commit is contained in:
parent
b82f22aa0e
commit
52a933c4c9
|
@ -104,7 +104,7 @@ class OnePoll
|
|||
}
|
||||
|
||||
// Don't poll local contacts
|
||||
if (Contact::isLocalById($contact['id'])) {
|
||||
if (User::getIdForURL($contact['url'])) {
|
||||
Logger::info('Local contacts are not polled', ['id' => $contact['id']]);
|
||||
|
||||
// set the last-update so we don't keep polling
|
||||
|
|
Loading…
Reference in a new issue