diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 244eb2aad..f206b8644 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -322,17 +322,6 @@ class Inbox break; case 'Announce': - $parent = Helpers::statusFirstOrFetch($obj['object']); - $status = Status::whereProfileId($profile->id) - ->whereReblogOfId($parent->id) - ->firstOrFail(); - Notification::whereProfileId($parent->profile->id) - ->whereActorId($profile->id) - ->whereAction('share') - ->whereItemId($status->id) - ->whereItemType('App\Status') - ->forceDelete(); - $status->forceDelete(); break; case 'Block':