Different check for being local
This commit is contained in:
parent
b82f22aa0e
commit
52a933c4c9
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class OnePoll
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't poll local contacts
|
// 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']]);
|
Logger::info('Local contacts are not polled', ['id' => $contact['id']]);
|
||||||
|
|
||||||
// set the last-update so we don't keep polling
|
// set the last-update so we don't keep polling
|
||||||
|
|
Loading…
Reference in a new issue