Update AP Inbox, fixes #3332

This commit is contained in:
Daniel Supernault 2022-04-06 01:01:10 -06:00
parent afd849604e
commit f8931dc7cd
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 4 additions and 1 deletions

View File

@ -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)