Merge pull request #13580 from annando/fetch-async
Follow requests are always processable
This commit is contained in:
commit
999c56a284
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ class Queue
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (($entry['type'] == 'as:Follow') && ($entry['object-type'] == 'as:Note')) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($entry['object-id']) && Post::exists(['uri' => $entry['object-id']])) {
|
if (!empty($entry['object-id']) && Post::exists(['uri' => $entry['object-id']])) {
|
||||||
// The object already exists, so processing can be done
|
// The object already exists, so processing can be done
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue