mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update AP Inbox, fixes #3332
This commit is contained in:
parent
afd849604e
commit
f8931dc7cd
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue