Merge pull request #13580 from annando/fetch-async

Follow requests are always processable
This commit is contained in:
Tobias Diekershoff 2023-10-26 14:08:59 +02:00 committed by GitHub
commit 999c56a284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,10 @@ class Queue
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']])) {
// The object already exists, so processing can be done
return true;