Merge pull request #5233 from pixelfed/staging

Update RemoteStatusDelete.php
pull/5259/head
daniel 7 months ago committed by GitHub
commit 96e4885101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save