1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #5233 from pixelfed/staging

Update RemoteStatusDelete.php
This commit is contained in:
daniel 2024-07-19 23:51:04 -06:00 committed by GitHub
commit 96e4885101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}