mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:10:11 +00:00
Merge pull request #8147 from annando/fetch-post
Fix for AP posts where the URL don't match
This commit is contained in:
commit
ae2959c780
2 changed files with 7 additions and 7 deletions
|
@ -3759,8 +3759,8 @@ class Item
|
|||
return $item_id;
|
||||
}
|
||||
|
||||
if (ActivityPub\Processor::fetchMissingActivity($uri)) {
|
||||
$item_id = self::searchByLink($uri, $uid);
|
||||
if ($fetched_uri = ActivityPub\Processor::fetchMissingActivity($uri)) {
|
||||
$item_id = self::searchByLink($fetched_uri, $uid);
|
||||
} else {
|
||||
$item_id = Diaspora::fetchByURL($uri);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue