Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Do not display deleted comments in RSS feed

Chocobozzz193272b8a0dd
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts
index aedd7a3a95..7cdff8c2cb 100644
--- a/server/models/video/video-comment.ts
+++ b/server/models/video/video-comment.ts
@@ -386,7 +386,9 @@ export class VideoCommentModel extends Model<VideoCommentModel> {
order: [ [ 'createdAt', 'DESC' ] ] as Order,
offset: start,
limit: count,
- where: {},
+ where: {
+ deletedAt: null
+ },
include: [
{
attributes: [ 'name', 'uuid' ],