|
@@ -623,7 +623,10 @@ class Inbox
|
|
break;
|
|
break;
|
|
|
|
|
|
case 'Tombstone':
|
|
case 'Tombstone':
|
|
- $profile = Helpers::profileFetch($actor);
|
|
|
|
|
|
+ $profile = Profile::whereRemoteUrl($actor)->first();
|
|
|
|
+ if(!$profile || $profile->private_key != null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
$status = Status::whereProfileId($profile->id)
|
|
$status = Status::whereProfileId($profile->id)
|
|
->whereUri($id)
|
|
->whereUri($id)
|
|
->orWhere('url', $id)
|
|
->orWhere('url', $id)
|