mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:10:12 +00:00
Fetching of missing posts is reworked
This commit is contained in:
parent
7dcd02938d
commit
1d13574225
10 changed files with 275 additions and 264 deletions
|
@ -3410,9 +3410,7 @@ class Item
|
|||
return is_numeric($hookData['item_id']) ? $hookData['item_id'] : 0;
|
||||
}
|
||||
|
||||
$fetchQueue = new ActivityPub\FetchQueue();
|
||||
$fetched_uri = ActivityPub\Processor::fetchMissingActivity($fetchQueue, $uri);
|
||||
$fetchQueue->process();
|
||||
$fetched_uri = ActivityPub\Processor::fetchMissingActivity($uri);
|
||||
|
||||
if ($fetched_uri) {
|
||||
$item_id = self::searchByLink($fetched_uri, $uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue