From d473fd94ce2fd04bffc6cf6ee8f193db309c1d83 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 28 Jun 2020 16:38:51 +0200 Subject: allow muting from the miniature options initial implementation with a listing refresh except on search results --- server/models/video/video-comment.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/models/video/video-comment.ts') diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index c465eb3e7..90625d987 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -444,11 +444,11 @@ export class VideoCommentModel extends Model { } const accountWhere = accountId ? { - [Op.and]: { - ...accountExclusion, - [Op.eq]: accountId - } + [Op.and]: { + ...accountExclusion, + [Op.eq]: accountId } + } : accountExclusion const videoChannelWhere = videoChannelId ? { id: videoChannelId } : undefined -- cgit v1.2.3