Update RemoteStatusDelete.php

This commit is contained in:
Daniel Supernault 2024-07-19 23:46:17 -06:00
parent c5fbc68745
commit 2910b61d21
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

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