From 772bbf5f4b3ee459e2f6f87567ad171d962b201e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 1 Mar 2019 18:58:43 -0700 Subject: [PATCH] Update Inbox, remove broken Undo.Announce --- app/Util/ActivityPub/Inbox.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 244eb2aa..f206b864 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':