Different check for being local

This commit is contained in:
Michael 2020-08-19 12:47:14 +00:00
parent b82f22aa0e
commit 52a933c4c9

View file

@ -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