diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index dd0182d2c..e6cd96a98 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -623,7 +623,10 @@ class Inbox break; case 'Tombstone': - $profile = Helpers::profileFetch($actor); + $profile = Profile::whereRemoteUrl($actor)->first(); + if(!$profile || $profile->private_key != null) { + return; + } $status = Status::whereProfileId($profile->id) ->whereUri($id) ->orWhere('url', $id)