Do not display deleted comments in RSS feed

pull/2677/head
Chocobozzz 2020-04-21 09:27:42 +02:00
parent 68b6fd21b1
commit 193272b8a0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -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' ],