]> git.mxchange.org Git - friendica.git/commitdiff
Different check for being local
authorMichael <heluecht@pirati.ca>
Wed, 19 Aug 2020 12:47:14 +0000 (12:47 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 19 Aug 2020 12:47:14 +0000 (12:47 +0000)
src/Worker/OnePoll.php

index 867b11fd3018550b8e1bcd0c8f83663810fb237f..7d69517319e22adcfec3da35885953d58d4aa604 100644 (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