|
|
@ -75,7 +75,6 @@ class RemoteStatusDelete implements ShouldQueue
|
|
|
|
$status = $this->status;
|
|
|
|
$status = $this->status;
|
|
|
|
|
|
|
|
|
|
|
|
if($status->deleted_at) {
|
|
|
|
if($status->deleted_at) {
|
|
|
|
$status->forceDelete();
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$profile = $this->status->profile;
|
|
|
|
$profile = $this->status->profile;
|
|
|
@ -131,7 +130,7 @@ class RemoteStatusDelete implements ShouldQueue
|
|
|
|
StatusView::whereStatusId($status->id)->delete();
|
|
|
|
StatusView::whereStatusId($status->id)->delete();
|
|
|
|
Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]);
|
|
|
|
Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]);
|
|
|
|
|
|
|
|
|
|
|
|
$status->forceDelete();
|
|
|
|
$status->delete();
|
|
|
|
|
|
|
|
|
|
|
|
StatusService::del($status->id, true);
|
|
|
|
StatusService::del($status->id, true);
|
|
|
|
AccountService::del($status->profile_id);
|
|
|
|
AccountService::del($status->profile_id);
|
|
|
|