https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82f22a
)
Different check for being local
author
Michael
<heluecht@pirati.ca>
Wed, 19 Aug 2020 12:47:14 +0000
(12:47 +0000)
committer
Michael
<heluecht@pirati.ca>
Wed, 19 Aug 2020 12:47:14 +0000
(12:47 +0000)
src/Worker/OnePoll.php
patch
|
blob
|
history
diff --git
a/src/Worker/OnePoll.php
b/src/Worker/OnePoll.php
index
867b11f
..
7d69517
100644
(file)
--- a/
src/Worker/OnePoll.php
+++ b/
src/Worker/OnePoll.php
@@
-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