From 2910b61d2122076ea6923b0247add036dd845874 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 19 Jul 2024 23:46:17 -0600 Subject: [PATCH] Update RemoteStatusDelete.php --- app/Jobs/StatusPipeline/RemoteStatusDelete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/StatusPipeline/RemoteStatusDelete.php b/app/Jobs/StatusPipeline/RemoteStatusDelete.php index 9676b936..65b72c10 100644 --- a/app/Jobs/StatusPipeline/RemoteStatusDelete.php +++ b/app/Jobs/StatusPipeline/RemoteStatusDelete.php @@ -176,11 +176,11 @@ class RemoteStatusDelete implements ShouldQueue, ShouldBeUniqueUntilProcessing StatusView::whereStatusId($status->id)->delete(); Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]); - $status->delete(); - StatusService::del($status->id, true); AccountService::del($status->profile_id); + $status->forceDelete(); + return 1; } }