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

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)