|
|
|
@ -77,7 +77,7 @@ class StatusDelete implements ShouldQueue
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$profile = $status->profile;
|
|
|
|
$profile = $status->profile()->withTrashed()->first();
|
|
|
|
|
|
|
|
|
|
|
|
// Verify profile exists
|
|
|
|
// Verify profile exists
|
|
|
|
if (! $profile) {
|
|
|
|
if (! $profile) {
|
|
|
|
@ -178,10 +178,10 @@ class StatusDelete implements ShouldQueue
|
|
|
|
|
|
|
|
|
|
|
|
public function fanoutDelete($status)
|
|
|
|
public function fanoutDelete($status)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$profile = $status->profile;
|
|
|
|
$profile = $status->profile()->withTrashed()->first();
|
|
|
|
|
|
|
|
|
|
|
|
if (! $profile) {
|
|
|
|
if (! $profile) {
|
|
|
|
return;
|
|
|
|
return $this->unlinkRemoveMedia($status);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$audience = $status->profile->getAudienceInbox();
|
|
|
|
$audience = $status->profile->getAudienceInbox();
|
|
|
|
|