Fix for AP posts where the URL don't match
This commit is contained in:
@@ -3742,8 +3742,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user