Update RemoteStatusDelete.php

pull/5233/head
Daniel Supernault 11 months ago
parent c5fbc68745
commit 2910b61d21
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

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